lynx-family
lynx-stack
BlogDocsChangelog

refactor: save dataset on an attribute

#981Merged
Comparing
PupilTong:p/hw/dataset
(
8bfd370
) with
main
(
70b82d2
)
CodSpeed Performance Gauge
-14%
Regressions
1
Untouched
8

Benchmarks

Failed

basic-performance-div-10
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
Regression
CodSpeed Performance Gauge
-14%
2.2 ms2.6 ms

Passed

basic-performance-div-10000
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+1%
1 s1 s
basic-performance-nest-level-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+1%
5.3 ms5.2 ms
basic-performance-div-1000
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
94 ms93.5 ms
basic-performance-text-200
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
23.8 ms23.7 ms
basic-performance-div-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
9.2 ms9.2 ms
basic-performance-scroll-view-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
17.5 ms17.4 ms
transform 1000 view elements
packages/react/transform/__test__/basic.bench.js::Basic
CodSpeed Performance Gauge
0%
378 ms378 ms
basic-performance-image-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
-1%
16.4 ms16.7 ms

Commits

Click on a commit to change the comparison range
Base
main
70b82d2
+0.19%
refactor: save dataset on an attribute On lynx, the `data-*` attributes have different behaviors than the HTMLElement has. The dataset will be treated as properties, the key will not be applied the camel-case <-> hyphenate name transformation. Before this commit we use it as a runtime data, but after this commit we will use encodeURI(JSON.stringify(dataset)) to encode it as a string. Implement SSR for Web #52
d8ea66a
6 months ago
by PupilTong
-14.6%
accept copilot
8bfd370
6 months ago
by PupilTong
© 2025 CodSpeed Technology
Home Terms Privacy Docs