New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

on-performance

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

on-performance

Listen for performance timeline events


Version published
Weekly downloads
61
decreased by-15.28%
Maintainers
1
Weekly downloads
 
Created

on-performance stability

npm version build status downloads js-standard-style

Listen for performance timeline events and clears them after usage.

Usage

var onPerformance = require('on-performance')

onPerformance(function (entry) {
  console.log('entry: ', entry.entryType, entry)
})

API

stop = onPerformance(callback(entry))

Listen for performance events.

stop()

Stop the observer.

License

MIT

FAQs

Package last updated on 17 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts