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

feat: support compile main-thread script to bytecode in external bundle

#2459
Comparing
feat/external-bundle-mts-bytecode
(
5ce3b26
) with
main
(
95c2dc3
)
CodSpeed Performance Gauge
+11%
Improvement
1
Untouched
80
Skipped
26

Benchmarks

107 total
transform 1000 view elements
packages/react/transform/__test__/basic.bench.js::Basic
CodSpeed Performance Gauge
+11%
45.4 ms40.8 ms
004-various-update__main-thread-setAttribute__Dataset
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
+1%
33.6 µs33.4 µs
004-various-update__main-thread-setAttribute__Attr
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
37.2 µs37 µs
004-various-update-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
338 µs336.8 µs
008-many-use-state__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
84.2 µs84 µs
001-fib/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
549.8 µs548.8 µs
more faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
18.7 µs18.7 µs
002-hello-reactLynx__main-thread-transferRoot
benchmark/react
CodSpeed Performance Gauge
0%
106.7 µs106.5 µs
004-various-update__main-thread-setAttribute__Spread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
388.1 µs387.6 µs
006-static-raw-text-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
004-various-update/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
373.9 µs373.5 µs
006-static-raw-text/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
464 µs463.5 µs
008-many-use-state__main-thread-transferRoot
benchmark/react
CodSpeed Performance Gauge
0%
93.5 µs93.4 µs
006-static-raw-text-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
001-fib/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
008-many-use-state-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
52.3 ms52.2 ms
002-hello-reactLynx-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
679.1 µs678.7 µs
002-hello-reactLynx/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
464.6 µs464.3 µs
006-static-raw-text__main-thread-renderMainThread
benchmark/react
CodSpeed Performance Gauge
0%
4.8 ms4.8 ms
004-various-update/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
612.4 µs612.1 µs
004-various-update__main-thread-setAttribute__ListItemPlatformInfo
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
115.8 µs115.7 µs
006-static-raw-text/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
333.8 µs333.7 µs
003-hello-list-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
007-four-layer-views-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
265.8 ms265.7 ms
003-hello-list/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms

Commits

Click on a commit to change the comparison range
Base
main
95c2dc3
+0.04%
feat: support compile main-thread script to bytecode in external bundle
25f19ff
6 days ago
by upupming
+11.2%
Merge branch 'main' into feat/external-bundle-mts-bytecode
5ce3b26
9 hours ago
by upupming
© 2026 CodSpeed Technology
Home Terms Privacy Docs