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

feat(react): optimize the number and depth of snapshot

#1764
Comparing
hzy:p/hzy/opt-slot_0
(
c165c4c
) with
main
(
5c39654
)
CodSpeed Performance Gauge
-23%
Regression
17
Untouched
64
Skipped
26

Benchmarks

107 total
007-four-layer-views__main-thread-transferRoot
benchmark/react
CodSpeed Performance Gauge
-23%
909.7 µs1,176.1 µs
003-hello-list-renderBackground
benchmark/react
CodSpeed Performance Gauge
-20%
20.3 ms25.4 ms
002-hello-reactLynx-renderBackground
benchmark/react
CodSpeed Performance Gauge
-20%
2.8 ms3.5 ms
003-hello-list-destroyBackground
benchmark/react
CodSpeed Performance Gauge
-18%
2.8 ms3.4 ms
003-hello-list-hydrate
benchmark/react
CodSpeed Performance Gauge
-14%
9.1 ms10.5 ms
007-four-layer-views-hydrate
benchmark/react
CodSpeed Performance Gauge
-14%
123.5 ms143.2 ms
007-four-layer-views-renderBackground
benchmark/react
CodSpeed Performance Gauge
-13%
265.7 ms305.6 ms
003-hello-list__main-thread-transferRoot
benchmark/react
CodSpeed Performance Gauge
-13%
186.4 µs213.6 µs
transform 1000 view elements
packages/react/transform/__test__/basic.bench.js::Basic
CodSpeed Performance Gauge
-13%
40.8 ms46.7 ms
002-hello-reactLynx-destroyBackground
benchmark/react
CodSpeed Performance Gauge
-12%
678.6 µs769.4 µs
007-four-layer-views__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
-12%
68.8 ms78 ms
006-static-raw-text__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
-11%
984.8 µs1,112.1 µs
002-hello-reactLynx-hydrate
benchmark/react
CodSpeed Performance Gauge
-11%
1.6 ms1.8 ms
002-hello-reactLynx__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
-10%
561.5 µs620.6 µs
007-four-layer-views-destroyBackground
benchmark/react
CodSpeed Performance Gauge
-8%
40.5 ms44.2 ms
003-hello-list__main-thread-componentAtIndex__reuse
benchmark/react
CodSpeed Performance Gauge
-8%
3.3 ms3.5 ms
003-hello-list__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
-7%
4.1 ms4.4 ms
008-many-use-state-destroyBackground
benchmark/react
CodSpeed Performance Gauge
+2%
8 ms7.8 ms
003-hello-list__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
+1%
24.4 µs24.1 µs
006-static-raw-text__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
23.6 µs23.5 µs
002-hello-reactLynx__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
23.3 µs23.2 µs
004-various-update__main-thread-setAttribute__MT_Event
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
91.4 µs91.2 µs
006-static-raw-text/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
463.5 µs462.5 µs
004-various-update__main-thread-setAttribute__MT_Ref
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
123.2 µs123 µs
004-various-update__main-thread-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
787.9 µs786.7 µs

Commits

Click on a commit to change the comparison range
Base
main
5c39654
-19.56%
chore: update turbo.json
11a436c
6 months ago
by upupming
0%
feat: update test cases
abe20ac
6 months ago
by upupming
-0.03%
feat: cover test for legacy DynamicPartType
4974e77
6 months ago
by upupming
+0.04%
feat: remove wrapper introducted in #1455
cd52ab1
6 months ago
by upupming
0%
feat: cover test for slotIndex of non text `children`
326e0d8
6 months ago
by upupming
0%
chore: update RLTL snapshot
f964aed
6 months ago
by upupming
-0.07%
feat: keep the lynx suspense from #1455
8b59089
6 months ago
by upupming
-0.66%
fix: typo
a4b4aaa
5 months ago
by upupming
-0.13%
feat: remove __slotIndex of document.ts
09f94fc
5 months ago
by upupming
-15.69%
Merge origin/main into pr-1764
fe8ea2b
29 days ago
by upupming
+0.23%
Fix react runtime test regressions after merge
b454c32
29 days ago
by upupming
0%
Update transform and hot refresh snapshots for slot v2
fbbb35a
29 days ago
by upupming
-0.05%
chore(lockfile): dedupe pnpm lockfile
22c4a7e
28 days ago
by upupming
+13.27%
fix: snapshot
c165c4c
10 hours ago
by upupming
© 2026 CodSpeed Technology
Home Terms Privacy Docs