Avatar for the vuejs user
vuejs
core
BlogDocs

Benchmarks

1000 refs, 1 computedpackages/reactivity/__tests__/computed.bench.ts::computed::1000 refs, 1 computedcreated
1 year ago
, last run
1 year ago
0
182
2.6 ms
create computedpackages/reactivity/__tests__/computed.bench.ts::computed::create computedcreated
1 year ago
, last run
1 year ago
0
182
24.4 µs
write independent ref deppackages/reactivity/__tests__/computed.bench.ts::computed::write independent ref depcreated
1 year ago
, last run
1 year ago
0
182
33.8 µs
write ref, don't read 1000 computeds (invoked)packages/reactivity/__tests__/computed.bench.ts::computed::write ref, don't read 1000 computeds (invoked)created
1 year ago
, last run
1 year ago
0
182
780.5 µs
write ref, don't read 1000 computeds (never invoked)packages/reactivity/__tests__/computed.bench.ts::computed::write ref, don't read 1000 computeds (never invoked)created
1 year ago
, last run
1 year ago
0
182
37.8 µs
write ref, don't read computed (invoked)packages/reactivity/__tests__/computed.bench.ts::computed::write ref, don't read computed (invoked)created
1 year ago
, last run
1 year ago
0
182
63.2 µs
write ref, don't read computed (never invoked)packages/reactivity/__tests__/computed.bench.ts::computed::write ref, don't read computed (never invoked)created
1 year ago
, last run
1 year ago
0
182
33.1 µs
write ref, read 1000 computedspackages/reactivity/__tests__/computed.bench.ts::computed::write ref, read 1000 computedscreated
1 year ago
, last run
1 year ago
0
182
5.3 ms
write ref, read computedpackages/reactivity/__tests__/computed.bench.ts::computed::write ref, read computedcreated
1 year ago
, last run
1 year ago
0
182
121.2 µs
reduce *raw* array, copied, 10 elementspackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *raw* array, copied, 10 elementscreated
1 year ago
, last run
1 year ago
0
182
174.1 µs
reduce *raw* array, copied, 100 elementspackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *raw* array, copied, 100 elementscreated
1 year ago
, last acknowledgement
1 year ago
1
182
98.5 µs
reduce *raw* array, copied, 1000 elementspackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *raw* array, copied, 1000 elementscreated
1 year ago
, last run
1 year ago
0
182
224.5 µs
reduce *raw* array, manually triggered, 10 elementspackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *raw* array, manually triggered, 10 elementscreated
1 year ago
, last run
1 year ago
0
182
323.2 µs
reduce *raw* array, manually triggered, 100 elementspackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *raw* array, manually triggered, 100 elementscreated
1 year ago
, last run
1 year ago
0
182
103.4 µs
reduce *raw* array, manually triggered, 1000 elementspackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *raw* array, manually triggered, 1000 elementscreated
1 year ago
, last run
1 year ago
0
182
233.6 µs
reduce *reactive* array, 10 elementspackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *reactive* array, 10 elementscreated
1 year ago
, last acknowledgement
1 year ago
1
182
851.5 µs
reduce *reactive* array, 10 elements, only change first valuepackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *reactive* array, 10 elements, only change first valuecreated
1 year ago
, last run
1 year ago
0
182
199 µs
reduce *reactive* array, 100 elementspackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *reactive* array, 100 elementscreated
1 year ago
, last run
1 year ago
0
182
2.4 ms
reduce *reactive* array, 100 elements, only change first valuepackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *reactive* array, 100 elements, only change first valuecreated
1 year ago
, last run
1 year ago
0
182
749.3 µs
reduce *reactive* array, 1000 elementspackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *reactive* array, 1000 elementscreated
1 year ago
, last run
1 year ago
0
182
24.8 ms
reduce *reactive* array, 1000 elements, only change first valuepackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *reactive* array, 1000 elements, only change first valuecreated
1 year ago
, last run
1 year ago
0
182
6.4 ms
reduce *readonly* array, 10 elementspackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *readonly* array, 10 elementscreated
1 year ago
, last acknowledgement
1 year ago
1
182
304.5 µs
reduce *readonly* array, 100 elementspackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *readonly* array, 100 elementscreated
1 year ago
, last run
1 year ago
0
182
1.3 ms
reduce *readonly* array, 1000 elementspackages/reactivity/__tests__/reactiveArray.bench.ts::reduce *readonly* array, 1000 elementscreated
1 year ago
, last acknowledgement
1 year ago
1
182
11.7 ms
1000 reactive maps, 1 computedpackages/reactivity/__tests__/reactiveMap.bench.ts::1000 reactive maps, 1 computedcreated
1 year ago
, last run
1 year ago
0
182
5.9 ms
create reactive mappackages/reactivity/__tests__/reactiveMap.bench.ts::create reactive mapcreated
1 year ago
, last run
1 year ago
0
182
38 µs
write reactive map (10'000 items), read computedpackages/reactivity/__tests__/reactiveMap.bench.ts::write reactive map (10'000 items), read computedcreated
1 year ago
, last acknowledgement
1 year ago
1
182
6.9 ms
write reactive map propertypackages/reactivity/__tests__/reactiveMap.bench.ts::write reactive map propertycreated
1 year ago
, last run
1 year ago
0
182
50.5 µs
write reactive map, don't read 1000 computeds (invoked)packages/reactivity/__tests__/reactiveMap.bench.ts::write reactive map, don't read 1000 computeds (invoked)created
1 year ago
, last run
1 year ago
0
182
1.1 ms
write reactive map, don't read 1000 computeds (never invoked)packages/reactivity/__tests__/reactiveMap.bench.ts::write reactive map, don't read 1000 computeds (never invoked)created
1 year ago
, last run
1 year ago
0
182
44.6 µs
write reactive map, don't read computed (invoked)packages/reactivity/__tests__/reactiveMap.bench.ts::write reactive map, don't read computed (invoked)created
1 year ago
, last run
1 year ago
0
182
81.8 µs
write reactive map, don't read computed (never invoked)packages/reactivity/__tests__/reactiveMap.bench.ts::write reactive map, don't read computed (never invoked)created
1 year ago
, last acknowledgement
1 year ago
1
182
36.7 µs
write reactive map, read 1000 computedspackages/reactivity/__tests__/reactiveMap.bench.ts::write reactive map, read 1000 computedscreated
1 year ago
, last run
1 year ago
0
182
9.5 ms
write reactive map, read computedpackages/reactivity/__tests__/reactiveMap.bench.ts::write reactive map, read computedcreated
1 year ago
, last run
1 year ago
0
182
133.1 µs
1000 reactive objs, 1 computedpackages/reactivity/__tests__/reactiveObject.bench.ts::1000 reactive objs, 1 computedcreated
1 year ago
, last run
1 year ago
0
182
4.4 ms
create reactive objpackages/reactivity/__tests__/reactiveObject.bench.ts::create reactive objcreated
1 year ago
, last run
1 year ago
0
182
33.4 µs
write reactive obj propertypackages/reactivity/__tests__/reactiveObject.bench.ts::write reactive obj propertycreated
1 year ago
, last run
1 year ago
0
182
52.5 µs
write reactive obj, don't read 1000 computeds (invoked)packages/reactivity/__tests__/reactiveObject.bench.ts::write reactive obj, don't read 1000 computeds (invoked)created
1 year ago
, last run
1 year ago
0
182
804.1 µs
write reactive obj, don't read 1000 computeds (never invoked)packages/reactivity/__tests__/reactiveObject.bench.ts::write reactive obj, don't read 1000 computeds (never invoked)created
1 year ago
, last run
1 year ago
0
182
68.4 µs
write reactive obj, don't read computed (invoked)packages/reactivity/__tests__/reactiveObject.bench.ts::write reactive obj, don't read computed (invoked)created
1 year ago
, last run
1 year ago
0
182
87.9 µs
write reactive obj, don't read computed (never invoked)packages/reactivity/__tests__/reactiveObject.bench.ts::write reactive obj, don't read computed (never invoked)created
1 year ago
, last run
1 year ago
0
182
52 µs
write reactive obj, read 1000 computedspackages/reactivity/__tests__/reactiveObject.bench.ts::write reactive obj, read 1000 computedscreated
1 year ago
, last run
1 year ago
0
182
14.5 ms
write reactive obj, read computedpackages/reactivity/__tests__/reactiveObject.bench.ts::write reactive obj, read computedcreated
1 year ago
, last run
1 year ago
0
182
132.8 µs
create refpackages/reactivity/__tests__/ref.bench.ts::ref::create refcreated
1 year ago
, last run
1 year ago
0
182
25.9 µs
read refpackages/reactivity/__tests__/ref.bench.ts::ref::read refcreated
1 year ago
, last run
1 year ago
0
182
15 µs
write refpackages/reactivity/__tests__/ref.bench.ts::ref::write refcreated
1 year ago
, last acknowledgement
1 year ago
1
182
50.1 µs
write/read refpackages/reactivity/__tests__/ref.bench.ts::ref::write/read refcreated
1 year ago
, last acknowledgement
1 year ago
1
182
47.2 µs
create watchEffectpackages/runtime-core/__tests__/apiWatch.bench.ts::create watchEffectcreated
1 year ago
, last run
1 year ago
0
182
58.5 µs
create watcherpackages/runtime-core/__tests__/apiWatch.bench.ts::create watchercreated
1 year ago
, last run
1 year ago
0
182
111.2 µs
update ref to trigger watchEffect (executed)packages/runtime-core/__tests__/apiWatch.bench.ts::update ref to trigger watchEffect (executed)created
1 year ago
, last acknowledgement
1 year ago
1
182
114.3 µs
update ref to trigger watchEffect (scheduled but not executed)packages/runtime-core/__tests__/apiWatch.bench.ts::update ref to trigger watchEffect (scheduled but not executed)created
1 year ago
, last run
1 year ago
0
182
334.8 µs
update ref to trigger watcher (executed)packages/runtime-core/__tests__/apiWatch.bench.ts::update ref to trigger watcher (executed)created
1 year ago
, last run
1 year ago
0
182
425.3 µs
update ref to trigger watcher (scheduled but not executed)packages/runtime-core/__tests__/apiWatch.bench.ts::update ref to trigger watcher (scheduled but not executed)created
1 year ago
, last run
1 year ago
0
182
133.9 µs
Home Terms PrivacyDocs