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

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

#1764Merged
Comparing
hzy:p/hzy/opt-slot_0
(
afd2d6a
) with
main
(
9e149c4
)
CodSpeed Performance Gauge
-23%
Regression
13
Untouched
68
Skipped
26

Benchmarks

107 total
007-four-layer-views__main-thread-transferRoot
benchmark/react
CodSpeed Performance Gauge
-23%
909.3 µs1,176 µs
002-hello-reactLynx-destroyBackground
benchmark/react
CodSpeed Performance Gauge
-18%
678.7 µs824.4 µs
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
-13%
123.4 ms141.6 ms
003-hello-list__main-thread-transferRoot
benchmark/react
CodSpeed Performance Gauge
-13%
186.7 µs214.1 µs
007-four-layer-views__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
-12%
68.5 ms78.3 ms
006-static-raw-text__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
-12%
984.6 µs1,112.6 µ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
-9%
561.4 µs618.1 µs
003-hello-list__main-thread-componentAtIndex__reuse
benchmark/react
CodSpeed Performance Gauge
-7%
3.3 ms3.5 ms
003-hello-list__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
-7%
4.1 ms4.4 ms
007-four-layer-views-renderBackground
benchmark/react
CodSpeed Performance Gauge
-6%
265.9 ms282.1 ms
006-static-raw-text-renderBackground
benchmark/react
CodSpeed Performance Gauge
-6%
3.2 ms3.4 ms
003-hello-list-destroyBackground
benchmark/react
CodSpeed Performance Gauge
+1%
2.8 ms2.8 ms
008-many-use-state__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
+1%
23.5 µs23.3 µs
007-four-layer-views__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
+1%
23.3 µs23.2 µs
004-various-update__main-thread-setAttribute__ListItemPlatformInfoSpread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
+1%
99 µs98.4 µs
004-various-update__main-thread-setAttribute__StyleString
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
32.6 µs32.4 µs
basic-performance-large-css
packages/web-platform/web-core-e2e/bench/server.bench.vitest.spec.ts::server-bench
CodSpeed Performance Gauge
0%
15.4 ms15.3 ms
006-static-raw-text-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
006-static-raw-text__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
23.5 µs23.5 µs
004-various-update__main-thread-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
787.3 µs785.8 µs
004-various-update__main-thread-setAttribute__TimingFlag
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
74.5 µs74.4 µs
004-various-update__main-thread-setAttribute__Class
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
35.7 µs35.7 µs
007-four-layer-views-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
40.5 ms40.5 ms

Commits

Click on a commit to change the comparison range
Base
main
9e149c4
-19.56%
chore: update turbo.json
11a436c
7 months ago
by upupming
0%
feat: update test cases
abe20ac
7 months ago
by upupming
-0.03%
feat: cover test for legacy DynamicPartType
4974e77
7 months ago
by upupming
+0.04%
feat: remove wrapper introducted in #1455
cd52ab1
7 months ago
by upupming
0%
feat: cover test for slotIndex of non text `children`
326e0d8
7 months ago
by upupming
0%
chore: update RLTL snapshot
f964aed
7 months ago
by upupming
-0.07%
feat: keep the lynx suspense from #1455
8b59089
6 months ago
by upupming
-0.66%
fix: typo
a4b4aaa
6 months ago
by upupming
-0.13%
feat: remove __slotIndex of document.ts
09f94fc
6 months ago
by upupming
-15.69%
Merge origin/main into pr-1764
fe8ea2b
1 month ago
by upupming
+0.23%
Fix react runtime test regressions after merge
b454c32
1 month ago
by upupming
0%
Update transform and hot refresh snapshots for slot v2
fbbb35a
1 month ago
by upupming
-0.05%
chore(lockfile): dedupe pnpm lockfile
22c4a7e
1 month ago
by upupming
+13.27%
fix: snapshot
c165c4c
10 days ago
by upupming
-22.27%
feat: simplify slotMap
2e49b89
9 days ago
by upupming
+22.31%
chore: upgrade preact
9ed7712
6 days ago
by upupming
-0.02%
Merge remote-tracking branch 'origin/main' into p/hzy/opt-slot_0
2ceaf27
6 days ago
by upupming
-1.67%
Merge remote-tracking branch 'origin/main' into p/hzy/opt-slot_0
60b047a
6 days ago
by upupming
+1.61%
chore: changeset
afd2d6a
6 days ago
by upupming
© 2026 CodSpeed Technology
Home Terms Privacy Docs