Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
import { bench } from 'vitest'
import { reactive } from '../dist/reactivity.esm-browser.prod'
bench('create reactive obj', () => {
reactive({ a: 1 })
})
{
const r = reactive({ a: 1 })
bench('read reactive obj property', () => {
r.a
}
let i = 0
bench('write reactive obj property', () => {
r.a = i++