feat: reduce slotIndex to save json serialization time #2486
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Apr 21, 2026 in 0s
Performance Gate Passed
⚡ 8 improved benchmarks
✅ 73 untouched benchmarks
⏩ 26 skipped benchmarks1
Performance Changes
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | 002-hello-reactLynx__main-thread-serializeRoot |
618.1 µs | 567.7 µs | +8.88% |
| ⚡ | 003-hello-list__main-thread-transferRoot |
214.1 µs | 185.2 µs | +15.63% |
| ⚡ | 003-hello-list__main-thread-serializeRoot |
4.4 ms | 4.1 ms | +9.05% |
| ⚡ | 002-hello-reactLynx-destroyBackground |
896.6 µs | 670.1 µs | +33.79% |
| ⚡ | 006-static-raw-text__main-thread-serializeRoot |
1.1 ms | 1 ms | +10.38% |
| ⚡ | 007-four-layer-views__main-thread-serializeRoot |
78.3 ms | 70.4 ms | +11.11% |
| ⚡ | 007-four-layer-views__main-thread-transferRoot |
1,176 µs | 909.3 µs | +29.34% |
| ⚡ | transform 1000 view elements |
46.8 ms | 39.9 ms | +17.26% |
Comparing feat/reduce-slotIndex-serialize (b569462) with main (cffd0b1)
Footnotes
-
26 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
Loading