vuejs
core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
refactor: replace typeof with type guard
#8505
Closed
Comparing
Alfred-Skyblue:chore-general
(
1545396
) with
main
(
9fa8241
)
CodSpeed Performance Gauge
+88%
Improvement
1
Untouched
52
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
53 total
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
+88%
14.5 ms
7.7 ms
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.5 µ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.5 µ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.4 µ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.
create reactive map
packages/reactivity/__tests__/reactiveMap.bench.ts
CodSpeed Performance Gauge
+1%
38.2 µs
38 µ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
+1%
857 µs
852.4 µs
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.
1000 reactive maps, 1 computed
packages/reactivity/__tests__/reactiveMap.bench.ts
CodSpeed Performance Gauge
+1%
5.9 ms
5.8 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.
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.
reduce *raw* array, manually triggered, 10 elements
packages/reactivity/__tests__/reactiveArray.bench.ts
CodSpeed Performance Gauge
0%
323.9 µs
322.6 µ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.
write reactive map, read computed
packages/reactivity/__tests__/reactiveMap.bench.ts
CodSpeed Performance Gauge
0%
133.1 µs
132.7 µ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.8 µ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.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.
update ref to trigger watchEffect (executed)
packages/runtime-core/__tests__/apiWatch.bench.ts
CodSpeed Performance Gauge
0%
114.6 µs
114.3 µ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.
create computed
packages/reactivity/__tests__/computed.bench.ts::computed
CodSpeed Performance Gauge
0%
24.7 µs
24.6 µ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.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
update ref to trigger watcher (scheduled but not executed)
packages/runtime-core/__tests__/apiWatch.bench.ts
CodSpeed Performance Gauge
0%
134.1 µs
133.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write ref, read computed
packages/reactivity/__tests__/computed.bench.ts::computed
CodSpeed Performance Gauge
0%
120.9 µs
120.8 µ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.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
write reactive map, don't read 1000 computeds (invoked)
packages/reactivity/__tests__/reactiveMap.bench.ts
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
9fa8241
+87.71%
Merge branch 'main' into chore-general
1545396
2 years ago
by Alfred-Skyblue
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs