MCPcopy Create free account
hub / github.com/FastLED/FastLED / _apply_phase_timing

Function _apply_phase_timing

ci/meson/runner_helpers.py:28–37  ·  view source on GitHub ↗

Apply phase timing data from BuildTimer to MesonTestResult.

(
    result: MesonTestResult, build_timer: BuildTimer
)

Source from the content-addressed store, hash-verified

26
27
28def _apply_phase_timing(
29 result: MesonTestResult, build_timer: BuildTimer
30) -> MesonTestResult:
31 """Apply phase timing data from BuildTimer to MesonTestResult."""
32 build_timer.calculate_phases()
33 result.meson_setup_time = build_timer.meson_setup_time
34 result.ninja_maintenance_time = build_timer.ninja_maintenance_time
35 result.compile_time = build_timer.compile_time
36 result.test_execution_time = build_timer.test_execution_time
37 return result
38
39
40def _apply_compile_sub_phases(

Callers 2

run_direct_testFunction · 0.90
run_streaming_pathFunction · 0.90

Calls 1

calculate_phasesMethod · 0.80

Tested by

no test coverage detected