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

Method get_total_time

ci/perf/compile_perf.py:107–112  ·  view source on GitHub ↗

Get total compilation time in milliseconds.

(self)

Source from the content-addressed store, hash-verified

105 self.phase_events[name] = event
106
107 def get_total_time(self) -> float:
108 """Get total compilation time in milliseconds."""
109 exec_event = self.phase_events.get("ExecuteCompiler")
110 if exec_event:
111 return exec_event.get("dur", 0) / 1000.0
112 return 0.0
113
114 def get_phase_times(self) -> dict[str, float]:
115 """Get time spent in each compilation phase."""

Callers 3

generate_reportMethod · 0.95
generate_jsonMethod · 0.95
check_thresholdsFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected