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

File apiWatch.bench.ts

packages/runtime-core/__tests__/apiWatch.bench.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { nextTick, ref, watch, watchEffect } from '../src'
2import { bench } from 'vitest'
3
4bench('create watcher', () => {

Callers

nothing calls this directly

Calls 4

refFunction · 0.90
watchFunction · 0.90
nextTickFunction · 0.90
watchEffectFunction · 0.90

Tested by

no test coverage detected