MCPcopy
hub / github.com/vuejs/core / computed.bench.ts

File computed.bench.ts

packages/reactivity/__benchmarks__/computed.bench.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { bench, describe } from 'vitest'
2import type { ComputedRef, Ref } from '../src'
3import { computed, effect, ref } from '../dist/reactivity.esm-browser.prod'
4

Callers

nothing calls this directly

Calls 5

effectFunction · 0.85
forEachMethod · 0.80
pushMethod · 0.65
computedFunction · 0.50
refFunction · 0.50

Tested by

no test coverage detected