feat: simplify implement of hooks for main-thread runtime #2441
CodSpeed HQ / CodSpeed Performance Analysis
failed
Apr 15, 2026 in 0s
Performance Regression: -15.45%
⚡ 4 improved benchmarks
❌ 2 regressed benchmarks
✅ 75 untouched benchmarks
⏩ 21 skipped benchmarks1
⚠️ Please fix the performance issues or acknowledge them on CodSpeed.
Performance Changes
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | basic-performance-div-1000 |
35.3 ms | 26.1 ms | +35.18% |
| ❌ | transform 1000 view elements |
42.7 ms | 45.4 ms | -6% |
| ⚡ | 008-many-use-state__main-thread-serializeRoot |
159.2 µs | 84.3 µs | +88.93% |
| ⚡ | 008-many-use-state__main-thread-renderMainThread |
79.9 ms | 68.5 ms | +16.67% |
| ❌ | 008-many-use-state-destroyBackground |
8 ms | 9.5 ms | -15.45% |
| ⚡ | basic-performance-text-200 |
20.7 ms | 11.7 ms | +76.67% |
Comparing p/hooks (073ee72) with main (d1c16c5)
Footnotes
-
21 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