Commit 545ed92
committed
Remove debug logging from BLE connection fix
User confirmed BLE connection is working correctly after the byte
counter fix, but reported slower performance compared to 8.0.1.
Analysis showed 4 console.log() statements in the data path:
- 2 logs on every BLE notification received (hot path)
- 2 logs during listener add/remove (cold path)
The hot path logs were causing performance degradation as they
execute on every 20-byte BLE packet received. Removed all 4
debug logs as they were marked TODO for removal after testing.
The core fix (using _onReceiveListeners array) remains intact.1 parent 3742221 commit 545ed92
1 file changed
+0
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | 173 | | |
177 | 174 | | |
178 | 175 | | |
179 | | - | |
180 | | - | |
181 | 176 | | |
182 | 177 | | |
183 | 178 | | |
| |||
248 | 243 | | |
249 | 244 | | |
250 | 245 | | |
251 | | - | |
252 | | - | |
253 | 246 | | |
254 | 247 | | |
255 | 248 | | |
256 | 249 | | |
257 | 250 | | |
258 | | - | |
259 | | - | |
260 | 251 | | |
261 | 252 | | |
262 | 253 | | |
| |||
0 commit comments