Skip to content

config

PerformanceConfig dataclass

Performance stats collector.

collect_performance: overall flag turning collection on/pff collect_cProfile: use cProfile for CPU Python profiling collect_communication: collect halo exchange details experiment_name: to be printed in the JSON summary json_all_rank_threshold: number of nodes above the full performance report for all nodes won't be written (rank 0 is always written)

collect_performance = False class-attribute instance-attribute

collect_cProfile = False class-attribute instance-attribute

collect_communication = False class-attribute instance-attribute

experiment_name = 'test' class-attribute instance-attribute

json_all_rank_threshold = 1000 class-attribute instance-attribute

__init__(collect_performance=False, collect_cProfile=False, collect_communication=False, experiment_name='test', json_all_rank_threshold=1000)

build(comm)

build_profiler()