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

fix(react): MTFs and gestures memory leak in PrimJS RC mode

#2107Closed
Comparing
Yradex:mts-remove-attrs-for-rc-2
(
9235133
) with
main
(
5e7e43c
)
CodSpeed Performance Gauge
-11%
Improvement
1
Regression
2
Untouched
60
New
3
Skipped
3

Benchmarks

69 total
002-hello-reactLynx/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
-11%
388.1 µs435 µs
006-static-raw-text/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
-11%
387.1 µs433.8 µs
002-hello-reactLynx-destroyBackground
benchmark/react
CodSpeed Performance Gauge
+10%
699.7 µs635.3 µs
003-hello-list__main-thread-destroyMts
benchmark/react
CodSpeed Performance Gauge
N/A
N/A4 ms
006-static-raw-text__main-thread-destroyMts
benchmark/react
CodSpeed Performance Gauge
N/A
N/A2 ms
002-hello-reactLynx__main-thread-destroyMts
benchmark/react
CodSpeed Performance Gauge
N/A
N/A682.3 µs
006-static-raw-text-destroyBackground
benchmark/react
CodSpeed Performance Gauge
+4%
1.8 ms1.7 ms
basic-performance-scroll-view-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+3%
10.8 ms10.4 ms
basic-performance-large-css
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+2%
11.9 ms11.7 ms
transform 1000 view elements
packages/react/transform/__test__/basic.bench.js::Basic
CodSpeed Performance Gauge
+2%
46.6 ms45.9 ms
more faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
+1%
16.2 µs16.2 µs
006-static-raw-text__main-thread-renderMainThread
benchmark/react
CodSpeed Performance Gauge
+1%
1.6 ms1.6 ms
004-various-update__main-thread-setAttribute__Spread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
382.8 µs381.5 µs
004-various-update__main-thread-setAttribute__ListItemPlatformInfoSpread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
96.1 µs95.8 µs
004-various-update__main-thread-setAttribute__MT_Ref
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
118.7 µs118.4 µs
004-various-update__main-thread-setAttribute__StyleObject
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
99.1 µs98.8 µs
004-various-update__main-thread-setAttribute__Dataset
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
33.1 µs33.1 µs
006-static-raw-text__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
910.8 µs908.5 µs
002-hello-reactLynx__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
21.8 µs21.7 µs
004-various-update__main-thread-setAttribute__MT_Event
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
97.1 µs96.9 µs
004-various-update__main-thread-setAttribute__Id
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
34.9 µs34.9 µs
002-hello-reactLynx__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
512.2 µs511.3 µs
faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
46.7 µs46.6 µs
006-static-raw-text__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
002-hello-reactLynx-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms

Commits

Click on a commit to change the comparison range
Base
main
5e7e43c
-15.8%
fix(react): MTFs and gestures memory leak in PrimJS RC mode
410ba8b
3 months ago
by Yradex
+5.01%
fix: Safely extract platform info objects and ensure destroy cleanup always executes.
9235133
2 months ago
by Yradex
© 2026 CodSpeed Technology
Home Terms Privacy Docs