Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ bench, describe } from
'vitest'
2
import
type
{ ComputedRef, Ref } from
'../src'
3
import
{ computed, effect, ref } from
'../dist/reactivity.esm-browser.prod'
4
Callers
nothing calls this directly
Calls
5
effect
Function · 0.85
forEach
Method · 0.80
push
Method · 0.65
computed
Function · 0.50
ref
Function · 0.50
Tested by
no test coverage detected