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

feat: add Minify.mainThreadOptions and Minify.backgroundOptions

#2336Merged
Comparing
p/minify
(
260c2e6
) with
main
(
4157823
)
CodSpeed Performance Gauge
+17%
Improvement
3
Untouched
69
Skipped
3

Benchmarks

75 total
transform 1000 view elements
packages/react/transform/__test__/basic.bench.js::Basic
CodSpeed Performance Gauge
+17%
47.3 ms40.3 ms
basic-performance-div-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+8%
7.3 ms6.8 ms
basic-performance-nest-level-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+8%
7.4 ms6.9 ms
basic-performance-scroll-view-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+3%
11 ms10.6 ms
more faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
18.8 µs18.8 µs
basic-performance-div-1000
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
44.5 ms44.5 ms
004-various-update__main-thread-setAttribute__TimingFlag
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
74.3 µs74.2 µs
003-hello-list__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
24.2 µs24.1 µs
004-various-update__main-thread-setAttribute__ListItemPlatformInfoSpread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
98.8 µs98.7 µs
006-static-raw-text-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
004-various-update__main-thread-setAttribute__ListItemPlatformInfo
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
115.4 µs115.3 µs
002-hello-reactLynx/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
417.8 µs417.5 µs
004-various-update__main-thread-setAttribute__MT_Event
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
91 µs91 µs
003-hello-list__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
4.1 ms4.1 ms
002-hello-reactLynx-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
679.4 µs679 µs
003-hello-list__main-thread-componentAtIndex__reuse
benchmark/react
CodSpeed Performance Gauge
0%
2.4 ms2.4 ms
basic-performance-nest-level-100
packages/web-platform/web-core-wasm-e2e/bench/server.bench.vitest.spec.ts::server-bench
CodSpeed Performance Gauge
0%
5.2 ms5.2 ms
003-hello-list__main-thread-renderMainThread
benchmark/react
CodSpeed Performance Gauge
0%
16.6 ms16.6 ms
003-hello-list-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
003-hello-list__main-thread-listFlush__updateListInfo
benchmark/react
CodSpeed Performance Gauge
0%
172.3 µs172.3 µs
003-hello-list/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
004-various-update-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
336.6 µs336.5 µs
003-hello-list-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
20.4 ms20.4 ms
003-hello-list__main-thread-componentAtIndex__create
benchmark/react
CodSpeed Performance Gauge
0%
5.4 ms5.4 ms
basic-performance-div-10000
packages/web-platform/web-core-wasm-e2e/bench/server.bench.vitest.spec.ts::server-bench
CodSpeed Performance Gauge
0%
258.8 ms258.8 ms

Commits

Click on a commit to change the comparison range
Base
main
4157823
-6.44%
feat: add Minify.mainThreadOptions and Minify.backgroundOptions for thread-specific minifier
7436d06
22 days ago
by HuJean
+23.89%
feat: support `optimizeBundleSize` option to remove unused code for main-thread and background
260c2e6
22 days ago
by HuJean
© 2026 CodSpeed Technology
Home Terms Privacy Docs