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

File effect.bench.ts

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 7

effectFunction · 0.85
benchEffectCreateFunction · 0.85
benchEffectCreateAndStopFunction · 0.85
benchWithRefsFunction · 0.85
benchWithBranchesFunction · 0.85
benchMultipleEffectsFunction · 0.85
refFunction · 0.50

Tested by

no test coverage detected