vuejs
core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
test(shared): improve test coverage
#8456
Merged
Comparing
Alfred-Skyblue:test-shared
(
dd1df8f
) with
main
(
9fa8241
)
CodSpeed Performance Gauge
0%
Untouched
53
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
53 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
update ref to trigger watchEffect (scheduled but not executed)
packages/runtime-core/__tests__/apiWatch.bench.ts
CodSpeed Performance Gauge
+2%
341 µs
334.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
update ref to trigger watcher (executed)
packages/runtime-core/__tests__/apiWatch.bench.ts
CodSpeed Performance Gauge
+1%
431.2 µs
425 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce *reactive* array, 1000 elements
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
-1%
24.8 ms
25.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce *reactive* array, 100 elements, only change first value
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
-1%
739.1 µs
748.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write ref, don't read computed (never invoked)
packages/reactivity/__tests__/computed.bench.ts::computed
CodSpeed Performance Gauge
-1%
33 µs
33.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
create watchEffect
packages/runtime-core/__tests__/apiWatch.bench.ts
CodSpeed Performance Gauge
+1%
59.1 µs
58.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce *reactive* array, 100 elements
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
-1%
2.4 ms
2.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce *readonly* array, 100 elements
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
-1%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
1000 reactive maps, 1 computed
packages/reactivity/__tests__/reactiveMap.bench.ts
CodSpeed Performance Gauge
-1%
5.9 ms
5.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write reactive map, don't read computed (never invoked)
packages/reactivity/__tests__/reactiveMap.bench.ts
CodSpeed Performance Gauge
+1%
37 µs
36.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
create ref
packages/reactivity/__tests__/ref.bench.ts::ref
CodSpeed Performance Gauge
+1%
26 µs
25.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
update ref to trigger watchEffect (executed)
packages/runtime-core/__tests__/apiWatch.bench.ts
CodSpeed Performance Gauge
+1%
114.6 µs
113.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write reactive map, read 1000 computeds
packages/reactivity/__tests__/reactiveMap.bench.ts
CodSpeed Performance Gauge
-1%
9.5 ms
9.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write independent ref dep
packages/reactivity/__tests__/computed.bench.ts::computed
CodSpeed Performance Gauge
+1%
33.8 µs
33.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write reactive map, don't read 1000 computeds (never invoked)
packages/reactivity/__tests__/reactiveMap.bench.ts
CodSpeed Performance Gauge
+1%
44.8 µs
44.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce *reactive* array, 10 elements, only change first value
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
0%
198.2 µs
199.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
1000 reactive objs, 1 computed
packages/reactivity/__tests__/reactiveObject.bench.ts
CodSpeed Performance Gauge
0%
4.4 ms
4.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write ref, don't read 1000 computeds (never invoked)
packages/reactivity/__tests__/computed.bench.ts::computed
CodSpeed Performance Gauge
0%
38.3 µs
38.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce *reactive* array, 10 elements
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
0%
857 µs
860.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
create watcher
packages/runtime-core/__tests__/apiWatch.bench.ts
CodSpeed Performance Gauge
0%
111.5 µs
111.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce *readonly* array, 10 elements
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
0%
303.2 µs
304.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write ref
packages/reactivity/__tests__/ref.bench.ts::ref
CodSpeed Performance Gauge
0%
50.1 µs
49.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write ref, don't read computed (invoked)
packages/reactivity/__tests__/computed.bench.ts::computed
CodSpeed Performance Gauge
0%
63.1 µs
62.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce *reactive* array, 1000 elements, only change first value
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
0%
6.4 ms
6.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
create reactive map
packages/reactivity/__tests__/reactiveMap.bench.ts
CodSpeed Performance Gauge
0%
38.2 µs
38.1 µs
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
9fa8241
+0.03%
Merge branch 'main' into test-shared
dd1df8f
3 years ago
by Alfred-Skyblue
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs