Fix _Fresh benchmark consistency and address review nits

- Remove inner loop from CalcAndEncode_DeviceInfoResponse_Fresh to match
  SensorStateResponse_Fresh — both now measure single alloc+encode per
  iteration as intended for heap allocation cost benchmarking
- Add comments documenting why _Fresh variants skip inner loops
- Add first-wins comment to load_component_yaml_configs
- Clean up .gitignore template comment
This commit is contained in:
J. Nick Koston
2026-03-16 23:52:27 -10:00
parent 8e4091baa3
commit 5d5a48c369
3 changed files with 15 additions and 14 deletions
-3
View File
@@ -1,5 +1,2 @@
# Gitignore settings for ESPHome
# This is an example and may include too much for your use-case.
# You can modify this file to suit your needs.
/.esphome/
/secrets.yaml