lynx-family
lynx-stack
BlogDocsChangelog

feat: introduce `swc-plugin-reactlynx-compat`

#1824Merged
Comparing
feat/introduce-swc-plugin-react-lynx-compat
(
57c0baa
) with
main
(
9ab108f
)
CodSpeed Performance Gauge
-8%
Improvements
1
Regressions
1
Untouched
51
Skipped
3

Benchmarks

Skipped (3)

transform 1000 view elements with event
packages/react/transform/__test__/basic.bench.js::Basic
Skipped
336.7 ms*
transform 1000 view elements with Children
packages/react/transform/__test__/basic.bench.js::Basic
Skipped
152.5 ms*
transform 1000 effects
packages/react/transform/__test__/basic.bench.js::Basic
Skipped
32.4 ms*

Failed

transform 1000 view elements
packages/react/transform/__test__/basic.bench.js::Basic
Regression
CodSpeed Performance Gauge
-8%
41.8 ms45.2 ms

Improved

basic-performance-nest-level-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+7%
6.3 ms5.9 ms

Passed

basic-performance-small-css
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+4%
7 ms6.8 ms
basic-performance-scroll-view-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+2%
9.3 ms9.1 ms
basic-performance-image-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+2%
10.1 ms9.9 ms
basic-performance-text-200
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+1%
15.7 ms15.6 ms
basic-performance-div-1000
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+1%
37.1 ms36.8 ms
basic-performance-large-css
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
11.6 ms11.6 ms
004-various-update__main-thread-setAttribute__TimingFlag
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
72.4 µs72.4 µs
002-hello-reactLynx__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
004-various-update__main-thread-setAttribute__Spread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
354.9 µs354.9 µs
002-hello-reactLynx/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
398.5 µs398.5 µs
004-various-update__main-thread-setAttribute__ListItemPlatformInfoSpread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
95.1 µs95.1 µs
005-load-script/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
002-hello-reactLynx-hydrate
benchmark/react
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
003-hello-list/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
004-various-update/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
634.7 µs634.7 µs
001-fib/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
003-hello-list__main-thread-renderMainThread
benchmark/react
CodSpeed Performance Gauge
0%
15.2 ms15.2 ms
004-various-update/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
377.2 µs377.2 µs
003-hello-list__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
3.8 ms3.8 ms
003-hello-list-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
18.4 ms18.4 ms
004-various-update__main-thread-setAttribute__ListItemPlatformInfo
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
112.7 µs112.7 µs
002-hello-reactLynx/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
479.5 µs479.5 µs
more faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
16.4 µs16.4 µs
faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
46.6 µs46.6 µs
004-various-update__main-thread-setAttribute__Attr
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
37 µs37 µs
002-hello-reactLynx__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
21.8 µs21.8 µs
004-various-update__main-thread-setAttribute__Class
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
35.8 µs35.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
004-various-update__main-thread-setAttribute__Id
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
34.8 µs34.8 µs
003-hello-list__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
22.6 µs22.6 µs
slower fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
5.3 ms5.3 ms
001-fib/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
547 µs547 µs
004-various-update__main-thread-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
777.1 µs777.1 µs
002-hello-reactLynx__main-thread-renderMainThread
benchmark/react
CodSpeed Performance Gauge
0%
2 ms2 ms
003-hello-list/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
002-hello-reactLynx-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
700.9 µs700.9 µs
004-various-update__main-thread-setAttribute__MT_Ref
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
112 µs112 µs
005-load-script/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
002-hello-reactLynx-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
004-various-update__main-thread-setAttribute__StyleObject
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
98.1 µs98.1 µs
003-hello-list-hydrate
benchmark/react
CodSpeed Performance Gauge
0%
8.2 ms8.2 ms
002-hello-reactLynx__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
515.9 µs515.9 µs
004-various-update__main-thread-setAttribute__StyleString
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
32.9 µs32.9 µs
004-various-update-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
316 µs316 µs
004-various-update__main-thread-setAttribute__MT_Event
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
96.1 µs96.1 µs
003-hello-list__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
0%
2.2 ms2.2 ms
003-hello-list-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
003-hello-list__main-thread-componentAtIndex__reuse
benchmark/react
CodSpeed Performance Gauge
0%
3.1 ms3.1 ms
003-hello-list__main-thread-componentAtIndex__create
benchmark/react
CodSpeed Performance Gauge
0%
5.2 ms5.2 ms
basic-performance-div-10000
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
-1%
386.2 ms389.6 ms
basic-performance-div-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
-3%
5.7 ms5.9 ms

Commits

Click on a commit to change the comparison range
Base
main
9ab108f
-7.73%
chore: add empty changeset
c4aa8e1
2 months ago
by gaoachao
+0.2%
chore: add description
57c0baa
2 months ago
by gaoachao
© 2025 CodSpeed Technology
Home Terms Privacy Docs