Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ nextTick, ref, watch, watchEffect } from
'../src'
2
import
{ bench } from
'vitest'
3
4
bench(
'create watcher'
, () => {
Callers
nothing calls this directly
Calls
4
ref
Function · 0.90
watch
Function · 0.90
nextTick
Function · 0.90
watchEffect
Function · 0.90
Tested by
no test coverage detected