Files
esphome/esphome
J. Nick Koston 1213774168 [core] Extract dump_config from Application::loop() hot path
Extract the dump_config block (version/chip info logging + per-component
dump_config iteration) into a separate noinline process_dump_config_()
method.

This code runs once at startup and once on API reconnect, but was
inlined into loop() which runs ~7000 times/minute. On ESP32 the
dump_config block compiled to ~140 bytes (38% of loop's 368 bytes),
including esp_chip_info(), integer division for revision formatting,
and multiple ESP_LOG calls. Extracting it frees ~2 icache lines for
the hot path.
2026-02-09 19:43:25 -06:00
..
2026-01-29 04:39:40 +00:00
…
…
2025-12-08 14:37:45 -05:00
…
2025-12-08 14:37:45 -05:00
…
2025-12-18 00:06:52 +00:00