0.0.3 • Published 2 years ago

pinia-performance-markers v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

pinia-performance-markers

pinia-performance-markers is records performance metrics of Pinia getters and actions and adds performance markers to the browser's performance profile.

This is an ESM module.

Installation

npm install pinia-performance-markers

Usage

import { createPinia } from 'pinia'
import { createPerformanceMarkersPiniaPlugin } from 'pinia-performance-markers'

const pinia = createPinia()
// Plugin creation must be called before stores get created
pinia.use(createPerformanceMarkersPiniaPlugin())
0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago