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

fix: reduce redundant updates for handlers and gestures

#2188
Comparing
Yradex:wt/mts-support-use-callback-20260202
(
23f46ef
) with
main
(
e2d349e
)
CodSpeed Performance Gauge
-23%
Regression
3
Untouched
60
Skipped
3

Benchmarks

66 total
004-various-update-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
-23%
316.1 µs409.3 µs
004-various-update__main-thread-setAttribute__MT_Event
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
-14%
95.9 µs111.2 µs
basic-performance-nest-level-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
-9%
7.1 ms7.8 ms
basic-performance-div-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+5%
7.3 ms7 ms
006-static-raw-text-destroyBackground
benchmark/react
CodSpeed Performance Gauge
+4%
1.8 ms1.7 ms
basic-performance-text-200
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+4%
18.6 ms17.9 ms
004-various-update__main-thread-setAttribute__Spread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
+3%
380.4 µs368.8 µs
004-various-update__main-thread-setAttribute__Attr
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
+2%
37.5 µs36.9 µs
basic-performance-div-10000
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+1%
462 ms458.1 ms
basic-performance-large-css
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+1%
12 ms11.9 ms
004-various-update__main-thread-setAttribute__StyleString
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
+1%
33 µs32.8 µs
004-various-update__main-thread-setAttribute__TimingFlag
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
+1%
72.4 µs72.1 µs
basic-performance-div-1000
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
43.4 ms43.2 ms
004-various-update__main-thread-setAttribute__MT_Ref
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
116.9 µs116.4 µs
006-static-raw-text-hydrate
benchmark/react
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
004-various-update/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
386.6 µs385.5 µs
004-various-update__main-thread-setAttribute__ListItemPlatformInfo
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
112 µs111.7 µs
004-various-update__main-thread-setAttribute__StyleObject
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
97.7 µs97.5 µs
004-various-update__main-thread-setAttribute__Dataset
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
33.2 µs33.1 µs
004-various-update__main-thread-setAttribute__Class
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
35.9 µs35.8 µs
006-static-raw-text/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
387.4 µs386.9 µs
004-various-update/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
654.6 µs653.9 µs
004-various-update__main-thread-setAttribute__ListItemPlatformInfoSpread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
94.4 µs94.3 µs
003-hello-list__main-thread-componentAtIndex__create
benchmark/react
CodSpeed Performance Gauge
0%
5.2 ms5.2 ms
003-hello-list__main-thread-componentAtIndex__reuse
benchmark/react
CodSpeed Performance Gauge
0%
3.1 ms3.1 ms

Commits

Click on a commit to change the comparison range
Base
main
e2d349e
-22.78%
test: improve `mtf-execid-churn` snapshot test reliability by adding assertions and awaiting schedule.
23f46ef
15 days ago
by Yradex
© 2026 CodSpeed Technology
Home Terms Privacy Docs