Avatar for the lynx-family user
lynx-family
lynx-stack
BlogDocsChangelog

perf: add a case for many hooks called

#2443Merged
Comparing
p/usestate
(
8fbe2a0
) with
main
(
5151fcf
)
CodSpeed Performance Gauge
-10%
Regression
1
Untouched
71
New
9
Skipped
21

Benchmarks

102 total
transform 1000 view elements
packages/react/transform/__test__/basic.bench.js::Basic
CodSpeed Performance Gauge
-10%
40.4 ms45 ms
008-many-use-state/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
N/A
N/A393.9 µs
008-many-use-state/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
N/A
N/A500.1 µs
008-many-use-state__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
N/A
N/A23.5 µs
008-many-use-state-destroyBackground
benchmark/react
CodSpeed Performance Gauge
N/A
N/A8 ms
008-many-use-state__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
N/A
N/A21.7 µs
008-many-use-state-renderBackground
benchmark/react
CodSpeed Performance Gauge
N/A
N/A52.3 ms
008-many-use-state__main-thread-renderMainThread
benchmark/react
CodSpeed Performance Gauge
N/A
N/A80.2 ms
008-many-use-state__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
N/A
N/A148.5 µs
008-many-use-state-hydrate
benchmark/react
CodSpeed Performance Gauge
N/A
N/A483.5 µs
003-hello-list__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
+2%
4.1 ms4.1 ms
more faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
+1%
19 µs18.7 µs
004-various-update__main-thread-setAttribute__Id
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
36 µs35.8 µs
faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
50.1 µs49.9 µs
004-various-update__main-thread-setAttribute__StyleString
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
32.6 µs32.4 µs
004-various-update__main-thread-setAttribute__Dataset
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
33.4 µs33.3 µs
004-various-update-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
337.5 µs336.2 µs
004-various-update__main-thread-setAttribute__ListItemPlatformInfoSpread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
99.3 µs98.9 µs
004-various-update__main-thread-setAttribute__Class
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
35.8 µs35.7 µs
006-static-raw-text__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
0%
21.7 µs21.7 µs
002-hello-reactLynx__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
0%
21.8 µs21.7 µs
005-load-script/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
004-various-update__main-thread-setAttribute__Attr
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
37 µs36.9 µs
003-hello-list__main-thread-listFlush__updateListInfo
benchmark/react
CodSpeed Performance Gauge
0%
173.4 µs173.1 µs
004-various-update/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
392.1 µs391.5 µs

Commits

Click on a commit to change the comparison range
Base
main
5151fcf
-10.28%
perf: add a case for many hooks called
8fbe2a0
4 days ago
by HuJean
© 2026 CodSpeed Technology
Home Terms Privacy Docs