Commit 3f223ec
perf: optimize MQTT logging with string pre-allocation (#93)
* Initial plan
* perf: optimize millis64, component loop, and MQTT logging
Co-authored-by: cziter15 <[email protected]>
* perf: revert millis64 lazy-eval to pre-update approach
Co-authored-by: cziter15 <[email protected]>
* perf: improve branch prediction by hinting on component state
Co-authored-by: cziter15 <[email protected]>
* perf: remove __builtin_expect as ESP has no branch prediction
Co-authored-by: cziter15 <[email protected]>
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: cziter15 <[email protected]>1 parent 18f194e commit 3f223ec
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
0 commit comments