Execution¶
Developer-only execution and benchmarking helpers used for profiling and optimization work.
Benchmark helpers for the compiled single-column runtime.
- class pygotm.execution.benchmark.BenchmarkResult(case_name, status, error, compiled_function, nopython_signature_count, n_steps, n_output, timings)[source]¶
Bases:
objectBenchmark result for one compiled single-column case.
- Parameters:
-
timings:
BenchmarkTimings¶
- class pygotm.execution.benchmark.BenchmarkTimings(warmup_s, initialization_s, runtime_build_s, force_build_s, integration_s, compiled_integration_s, fabm_chunk_s, copy_back_s, output_conversion_s, total_s, steps_per_s, fabm_steps_per_s)[source]¶
Bases:
objectMeasured wall-clock timings for one benchmarked case.
- Parameters:
- pygotm.execution.benchmark.benchmark_cases(case_names, *, max_steps=None, output=True, warmup=True)[source]¶
Benchmark cases sequentially, warming up only before the first case.