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

File reactiveMap.bench.ts

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 7

reactiveFunction · 0.85
createMapFunction · 0.85
forEachMethod · 0.80
pushMethod · 0.65
computedFunction · 0.50
setMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected