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

refactor: noop effect hooks on main thread

#2424Merged
Comparing
fix/main-thread-effect-hooks-noop
(
ebe224d
) with
main
(
8c0e483
)
CodSpeed Performance Gauge
-15%
Regression
1
Untouched
71
Skipped
21

Benchmarks

93 total
transform 1000 view elements
packages/react/transform/__test__/basic.bench.js::Basic
CodSpeed Performance Gauge
-15%
40.3 ms47.3 ms
003-hello-list__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
+2%
4.1 ms4.1 ms
004-various-update__main-thread-setAttribute__Dataset
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
+1%
33.7 µs33.3 µs
004-various-update-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
+1%
339 µs336.3 µs
004-various-update__main-thread-setAttribute__Attr
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
+1%
37.2 µs37 µs
003-hello-list/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
+1%
1.7 ms1.7 ms
004-various-update__main-thread-setAttribute__Class
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
35.8 µs35.7 µs
005-load-script/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.3 ms1.2 ms
004-various-update__main-thread-setAttribute__Id
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
36.1 µs36 µs
002-hello-reactLynx__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
23.5 µs23.4 µs
007-four-layer-views__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
23.5 µs23.4 µs
004-various-update/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
636.7 µs634.5 µs
more faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
18.9 µs18.8 µs
006-static-raw-text-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
004-various-update/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
392.3 µs391.5 µs
004-various-update__main-thread-setAttribute__MT_Event
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
91.1 µs90.9 µs
003-hello-list__main-thread-componentAtIndex__reuse
benchmark/react
CodSpeed Performance Gauge
0%
2.4 ms2.4 ms
006-static-raw-text/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
388.2 µs387.8 µs
004-various-update__main-thread-setAttribute__StyleString
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
32.6 µs32.6 µs
004-various-update__main-thread-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
787.7 µs787.3 µs
003-hello-list__main-thread-componentAtIndex__create
benchmark/react
CodSpeed Performance Gauge
0%
5.4 ms5.4 ms
basic-performance-scroll-view-100
packages/web-platform/web-core-e2e/bench/server.bench.vitest.spec.ts::server-bench
CodSpeed Performance Gauge
0%
8.1 ms8.1 ms
006-static-raw-text/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
491 µs490.9 µs
003-hello-list-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
20.3 ms20.3 ms
basic-performance-small-css
packages/web-platform/web-core-e2e/bench/server.bench.vitest.spec.ts::server-bench
CodSpeed Performance Gauge
0%
5.6 ms5.6 ms

Commits

Click on a commit to change the comparison range
Base
main
8c0e483
-26.99%
fix: noop effect hooks on main thread
f922cca
8 days ago
by HuJean
+12.25%
Merge branch 'main' into fix/main-thread-effect-hooks-noop
ebe224d
4 days ago
by HuJean
© 2026 CodSpeed Technology
Home Terms Privacy Docs