mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
12137741682c80964ab8423192bba56469db1741
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.
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
545 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
