mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 17:18:40 +00:00
Measures the cost of registering scheduler items: - Scheduler_SetTimeout: set_timeout with 1s delay (heap path) - Scheduler_SetInterval: set_interval with 1s period (heap path + offset calc) - Scheduler_Defer: Component::defer (set_timeout with delay=0) Uses i%5 for IDs to exercise the cancel-existing-timer path that happens when re-registering with the same ID.