lynx-family
lynx-stack
BlogDocsChangelog

refactor: extract `swc_plugin_worklet`

#1805Merged
Comparing
refactor/extract-swc-plugin-worklet
(
c66bfeb
) with
main
(
886715b
)
CodSpeed Performance Gauge
+12%
Improvements
1
Untouched
52
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*

Improved

basic-performance-small-css
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+12%
7.5 ms6.7 ms

Passed

transform 1000 view elements
packages/react/transform/__test__/basic.bench.js::Basic
CodSpeed Performance Gauge
+1%
43.2 ms42.6 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.5 ms
002-hello-reactLynx-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
622.7 µs622.4 µs
basic-performance-div-1000
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
36.6 ms36.6 ms
004-various-update-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
315 µs315 µs
003-hello-list__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
0%
2.2 ms2.2 ms
002-hello-reactLynx__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
003-hello-list__main-thread-componentAtIndex__reuse
benchmark/react
CodSpeed Performance Gauge
0%
3.1 ms3.1 ms
002-hello-reactLynx-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
003-hello-list__main-thread-componentAtIndex__create
benchmark/react
CodSpeed Performance Gauge
0%
5.2 ms5.2 ms
003-hello-list__main-thread-renderMainThread
benchmark/react
CodSpeed Performance Gauge
0%
14.7 ms14.7 ms
002-hello-reactLynx__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
517 µs517 µs
003-hello-list-hydrate
benchmark/react
CodSpeed Performance Gauge
0%
8.2 ms8.2 ms
003-hello-list/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
001-fib/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
545.6 µs545.6 µs
002-hello-reactLynx__main-thread-renderMainThread
benchmark/react
CodSpeed Performance Gauge
0%
2 ms2 ms
more faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
16.4 µs16.4 µs
slower fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
5.3 ms5.3 ms
003-hello-list__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
22.5 µs22.5 µs
003-hello-list/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
002-hello-reactLynx__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
21.8 µs21.8 µs
004-various-update/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
647.3 µs647.3 µs
003-hello-list-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
18.4 ms18.4 ms
005-load-script/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
001-fib/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
004-various-update__main-thread-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
776.4 µs776.4 µs
003-hello-list-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
002-hello-reactLynx/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
398.1 µs398.1 µs
003-hello-list__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
3.8 ms3.8 ms
faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
48 µs48 µs
002-hello-reactLynx-hydrate
benchmark/react
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
005-load-script/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
004-various-update__main-thread-setAttribute__Spread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
353.3 µs353.4 µs
basic-performance-div-10000
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
385.1 ms385.2 ms
004-various-update/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
378.3 µs378.3 µs
002-hello-reactLynx/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
478.3 µs478.4 µs
004-various-update__main-thread-setAttribute__StyleObject
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
97.7 µs97.7 µs
004-various-update__main-thread-setAttribute__TimingFlag
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
72.4 µs72.5 µs
basic-performance-large-css
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
11.5 ms11.5 ms
004-various-update__main-thread-setAttribute__ListItemPlatformInfoSpread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
94.2 µs94.3 µs
004-various-update__main-thread-setAttribute__ListItemPlatformInfo
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
111.8 µs111.9 µs
004-various-update__main-thread-setAttribute__MT_Ref
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
110.8 µs110.8 µs
004-various-update__main-thread-setAttribute__MT_Event
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
95.7 µs95.8 µs
basic-performance-image-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
10 ms10 ms
basic-performance-scroll-view-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
9.3 ms9.3 ms
004-various-update__main-thread-setAttribute__Attr
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
36 µs36 µs
004-various-update__main-thread-setAttribute__Class
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
35.9 µs36 µs
004-various-update__main-thread-setAttribute__Id
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
34.9 µs35 µs
004-various-update__main-thread-setAttribute__Dataset
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
33.1 µs33.2 µs
004-various-update__main-thread-setAttribute__StyleString
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
33 µs33.1 µs
basic-performance-nest-level-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
-1%
6.3 ms6.3 ms
basic-performance-div-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
-4%
6 ms6.3 ms

Commits

Click on a commit to change the comparison range
Base
main
886715b
+11.52%
chore: add empty changeset
c66bfeb
2 months ago
by gaoachao
© 2025 CodSpeed Technology
Home Terms Privacy Docs