mirror of
https://github.com/esphome/esphome.git
synced 2026-08-31 10:06:03 +00:00
Encode messages once in setup using the real protobuf API, then decode the resulting bytes in the benchmark loop. This keeps decode benchmarks automatically in sync with the protobuf schema — hand-encoded byte arrays would silently break when fields change.