@onerepo/plugin-performance-writer
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

This is a usable example plugin to demonstrate how to build your own telemetry and performance tracing plugin using the oneRepo plugin API and internal performance entries.

Using a PerformanceObserver, it listens for performance marks and converts them into measurements from onerepo_start_ to onerepo_end_ prefixed entries. On CLI shutdown, the measurements will be written to a file for later operation.

No metrics or information are shared anywhere outside of your local environment.

Installation

npm install --save-dev @onerepo/plugin-performance-writer

Readme

Keywords

none

Package Sidebar

Install

npm i @onerepo/plugin-performance-writer

Weekly Downloads

7

Version

1.0.0

License

MIT

Unpacked Size

118 kB

Total Files

7

Last publish

Collaborators

  • paularmstrong