mirror of
https://github.com/esphome/esphome.git
synced 2026-09-23 21:14:03 +00:00
900232be2134a691ed29ad4702546310843ab1e0
The previous parser walked `-X importtime` stderr by hand (string-splitting on `|`, indent-width math). Replace it with a load of the HAR JSON that importtime-waterfall already produces: each entry carries the module name, self-time, and cumulative — no tree reconstruction needed. Drops the hand-rolled retry loop too, since importtime-waterfall does best-of-6 internally. The committed budget (75.2ms) was seeded on a fast local machine; GHA runners measured 122.8ms, so the first CI run tripped the check. Reset the baseline to 123ms with a 25% margin (ceiling ~154ms) to absorb GHA variance. Tighten later once we have several data points. Adds unit tests for should_run_import_time across the trigger matrix and wires the new mock into the existing test_main_* suite.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
626 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
