mirror of
https://github.com/esphome/esphome.git
synced 2026-09-14 08:38:39 +00:00
21929eb157c50f83638f08a125ed7ef1c497a443
Profiling showed the noinline call overhead dominated hot paths like SensorStateResponse encoding, where encode_fixed32 is called twice per message (once for key, once via encode_float for state). The function body is trivial (tag byte + 4-byte memcpy), so the function call prologue/epilogue cost exceeded the actual work. Despite 51 call sites, removing noinline shows no measurable flash size increase (555167 bytes before and after on ESP32).
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
594 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
