vuejs
core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
chore(reactivity): update `toRef` return value type
#8464
Closed
Comparing
Alfred-Skyblue:type-ref
(
bb2adc5
) 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.9 µ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
+2%
431.2 µs
424.2 µs
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
+2%
38.3 µs
37.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
create computed
packages/reactivity/__tests__/computed.bench.ts::computed
CodSpeed Performance Gauge
+1%
24.7 µs
24.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.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
read ref
packages/reactivity/__tests__/ref.bench.ts::ref
CodSpeed Performance Gauge
+1%
15 µs
14.9 µs
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.
reduce *reactive* array, 10 elements
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
0%
857 µs
852.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
0%
114.6 µs
114 µ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
0%
44.8 µs
44.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write reactive obj, don't read computed (never invoked)
packages/reactivity/__tests__/reactiveObject.bench.ts
CodSpeed Performance Gauge
0%
52.1 µs
51.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write reactive obj property
packages/reactivity/__tests__/reactiveObject.bench.ts
CodSpeed Performance Gauge
0%
52.7 µs
52.5 µ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.
reduce *raw* array, copied, 10 elements
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
0%
174.3 µs
173.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write reactive map, don't read computed (invoked)
packages/reactivity/__tests__/reactiveMap.bench.ts
CodSpeed Performance Gauge
0%
81.9 µs
81.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write reactive obj, don't read 1000 computeds (never invoked)
packages/reactivity/__tests__/reactiveObject.bench.ts
CodSpeed Performance Gauge
0%
68.4 µs
68.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
create ref
packages/reactivity/__tests__/ref.bench.ts::ref
CodSpeed Performance Gauge
0%
26 µs
25.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write reactive obj, read computed
packages/reactivity/__tests__/reactiveObject.bench.ts
CodSpeed Performance Gauge
0%
132.9 µs
132.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
create reactive obj
packages/reactivity/__tests__/reactiveObject.bench.ts
CodSpeed Performance Gauge
0%
33.3 µs
33.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write reactive obj, read 1000 computeds
packages/reactivity/__tests__/reactiveObject.bench.ts
CodSpeed Performance Gauge
0%
14.5 ms
14.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
0%
33.8 µs
33.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce *raw* array, copied, 100 elements
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
0%
98.8 µs
98.7 µs
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.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write/read ref
packages/reactivity/__tests__/ref.bench.ts::ref
CodSpeed Performance Gauge
0%
47.2 µs
47.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce *raw* array, manually triggered, 100 elements
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
0%
103.8 µs
103.7 µs
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
9fa8241
+0.06%
Merge branch 'main' into type-ref
bb2adc5
2 years ago
by Alfred-Skyblue
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs