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

fix: reduce redundant updates for handlers and gestures

#2188Merged
Comparing
Yradex:wt/mts-support-use-callback-20260202
(
0ec04e7
) with
main
(
ea5e30e
)
CodSpeed Performance Gauge
-19%
Improvement
3
Regression
3
Untouched
75
Skipped
26

Benchmarks

107 total
004-various-update-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
-19%
338.2 µs418.2 µs
004-various-update__main-thread-setAttribute__MT_Event
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
-15%
91.1 µs107.8 µs
008-many-use-state-destroyBackground
benchmark/react
CodSpeed Performance Gauge
-13%
8 ms9.2 ms
002-hello-reactLynx-destroyBackground
benchmark/react
CodSpeed Performance Gauge
+25%
832.6 µs668.7 µs
003-hello-list-destroyBackground
benchmark/react
CodSpeed Performance Gauge
+23%
3.4 ms2.8 ms
transform 1000 view elements
packages/react/transform/__test__/basic.bench.js::Basic
CodSpeed Performance Gauge
+17%
46.8 ms40 ms
004-various-update__main-thread-setAttribute__Spread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
+3%
388.1 µs375.4 µs
006-static-raw-text__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
+1%
1,008.2 µs996.7 µs
002-hello-reactLynx__main-thread-transferRoot
benchmark/react
CodSpeed Performance Gauge
+1%
107.5 µs106.5 µs
004-various-update__main-thread-setAttribute__TimingFlag
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
+1%
75.3 µs74.6 µs
006-static-raw-text__main-thread-transferRoot
benchmark/react
CodSpeed Performance Gauge
+1%
103.8 µs102.9 µs
002-hello-reactLynx__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
+1%
23.4 µs23.2 µs
004-various-update__main-thread-setAttribute__StyleString
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
+1%
32.8 µs32.6 µs
004-various-update__main-thread-setAttribute__StyleObject
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
98.8 µs98.3 µs
004-various-update__main-thread-setAttribute__Attr
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
37.4 µs37.3 µs
008-many-use-state__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
85.3 µs84.9 µs
006-static-raw-text-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
3.4 ms3.3 ms
004-various-update__main-thread-setAttribute__Id
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
36.3 µs36.1 µs
004-various-update__main-thread-setAttribute__MT_Ref
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
122.8 µs122.3 µs
006-static-raw-text/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
333.7 µs332.8 µs
007-four-layer-views__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
23.5 µs23.4 µs
002-hello-reactLynx/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
336.6 µs335.8 µs
008-many-use-state/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
340 µs339.3 µs
006-static-raw-text-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
008-many-use-state-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
52.7 ms52.6 ms

Commits

Click on a commit to change the comparison range
Base
main
ea5e30e
-19.13%
fix: avoid clobbering gesture attrs on removal
0ec04e7
5 days ago
by Yradex
© 2026 CodSpeed Technology
Home Terms Privacy Docs