Skip to content

node-modules/performance-ms

Repository files navigation

performance-ms

NPM version Node.js CI Test coverage Known Vulnerabilities npm download

performance timer in ms

Usage

import { now, diff } from 'performance-ms';

const startTime = now();
// run your code
const rt = diff(startTime);
console.log('rt %d', rt);

// stdout: rt 1.228

License

MIT

Contributors


fengmk2


semantic-release-bot

This project follows the git-contributor spec, auto updated at Fri Aug 04 2023 15:21:17 GMT+0800.