lynx-family
lynx-stack
BlogDocsChangelog

fix(web): this may be undefined in Card()

#1922Merged
Comparing
Sherry-hue:fix/card-this-undefined
(
b710a3a
) with
main
(
ffd193b
)
CodSpeed Performance Gauge
+9%
Improvements
1
Untouched
62
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

transform 1000 view elements
packages/react/transform/__test__/basic.bench.js::Basic
CodSpeed Performance Gauge
+9%
45.9 ms42 ms

Passed

basic-performance-nest-level-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+4%
6.4 ms6.2 ms
basic-performance-scroll-view-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+1%
9.3 ms9.2 ms
004-various-update__main-thread-setAttribute__StyleString
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
33 µs32.9 µs
004-various-update__main-thread-setAttribute__Id
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
35 µs34.9 µs
004-various-update__main-thread-setAttribute__Class
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
36 µs35.9 µs
basic-performance-image-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
9.8 ms9.8 ms
more faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
16.3 µs16.3 µs
004-various-update__main-thread-setAttribute__Dataset
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
33.2 µs33.2 µs
004-various-update__main-thread-setAttribute__Attr
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
36 µs36 µs
003-hello-list__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
22.6 µs22.6 µs
basic-performance-text-200
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
15.6 ms15.5 ms
004-various-update__main-thread-setAttribute__TimingFlag
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
72.3 µs72.2 µs
004-various-update__main-thread-setAttribute__MT_Event
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
95.9 µs95.8 µs
003-hello-list__main-thread-componentAtIndex__create
benchmark/react
CodSpeed Performance Gauge
0%
5.2 ms5.2 ms
004-various-update__main-thread-setAttribute__ListItemPlatformInfo
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
112.3 µs112.2 µs
faster fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
46.7 µs46.6 µs
004-various-update__main-thread-setAttribute__StyleObject
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
98 µs98 µs
004-various-update__main-thread-setAttribute__ListItemPlatformInfoSpread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
94.7 µs94.6 µs
006-static-raw-text__main-thread-renderMainThread
benchmark/react
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
006-static-raw-text-hydrate
benchmark/react
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
006-static-raw-text/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
396.4 µs396.4 µs
003-hello-list-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
006-static-raw-text-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
005-load-script/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
slower fib(20)
benchmark/react/cases/001-fib/index.ts
CodSpeed Performance Gauge
0%
5.3 ms5.3 ms
002-hello-reactLynx__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
004-various-update__main-thread-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
776.5 µs776.4 µs
002-hello-reactLynx/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
398.1 µs398.1 µs
004-various-update/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
376.4 µs376.4 µs
002-hello-reactLynx__main-thread-renderMainThread
benchmark/react
CodSpeed Performance Gauge
0%
2 ms2 ms
004-various-update__main-thread-setAttribute__Spread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
359.8 µs359.8 µs
003-hello-list/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
003-hello-list/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
004-various-update/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
645.5 µs645.4 µs
002-hello-reactLynx-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
703.1 µs703.1 µs
003-hello-list-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
18.5 ms18.5 ms
005-load-script/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
004-various-update-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
316.3 µs316.3 µs
003-hello-list__main-thread-renderMainThread
benchmark/react
CodSpeed Performance Gauge
0%
14.7 ms14.7 ms
006-static-raw-text__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
21.7 µs21.7 µs
002-hello-reactLynx__main-thread-processData
benchmark/react
CodSpeed Performance Gauge
0%
21.7 µs21.7 µs
006-static-raw-text/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
477.4 µs477.4 µs
001-fib/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
548.5 µs548.6 µs
002-hello-reactLynx-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
001-fib/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
006-static-raw-text__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
917.6 µs917.7 µs
003-hello-list-hydrate
benchmark/react
CodSpeed Performance Gauge
0%
8.3 ms8.3 ms
006-static-raw-text__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
002-hello-reactLynx/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
478.3 µs478.3 µs
002-hello-reactLynx__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
515.6 µs515.6 µs
003-hello-list__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
0%
2.2 ms2.2 ms
003-hello-list__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
3.8 ms3.8 ms
002-hello-reactLynx-hydrate
benchmark/react
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
003-hello-list__main-thread-listFlush__updateListInfo
benchmark/react
CodSpeed Performance Gauge
0%
166.4 µs166.5 µs
003-hello-list__main-thread-componentAtIndex__reuse
benchmark/react
CodSpeed Performance Gauge
0%
3.1 ms3.1 ms
006-static-raw-text-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
004-various-update__main-thread-setAttribute__MT_Ref
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
117.3 µs117.4 µs
basic-performance-large-css
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
-1%
11.7 ms11.8 ms
basic-performance-div-1000
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
-1%
36.8 ms37.4 ms
basic-performance-small-css
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
-2%
6.9 ms7 ms
basic-performance-div-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
-2%
6 ms6.2 ms
basic-performance-div-10000
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
-4%
388.6 ms405.7 ms

Commits

Click on a commit to change the comparison range
Base
main
ffd193b
+9.08%
fix(web): this may be undefined in Card()
b710a3a
4 days ago
by Sherry-hue
© 2025 CodSpeed Technology
Home Terms Privacy Docs