https://github.com/tiagodanin/require-benchmark
Package loading time in NodeJs
https://github.com/tiagodanin/require-benchmark
benchmark debug log node nodejs package packages perf performance time timing
Last synced: 10 months ago
JSON representation
Package loading time in NodeJs
- Host: GitHub
- URL: https://github.com/tiagodanin/require-benchmark
- Owner: TiagoDanin
- License: mit
- Created: 2019-05-17T15:02:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-08-28T23:54:29.000Z (10 months ago)
- Last Synced: 2025-09-04T15:35:53.838Z (10 months ago)
- Topics: benchmark, debug, log, node, nodejs, package, packages, perf, performance, time, timing
- Language: JavaScript
- Size: 126 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Require Benchmark
[](https://travis-ci.org/TiagoDanin/Require-Benchmark) [](https://npmjs.org/package/require-benchmark) [](https://npmjs.org/package/require-benchmark) [](https://npmjs.org/package/require-benchmark) [](https://github.com/xojs/xo)
Package loading time in NodeJs

## Installation
Module available through the [npm registry](https://www.npmjs.com/). It can be installed using the [`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally) or [`yarn`](https://yarnpkg.com/en/) command line tools.
```sh
# NPM
npm install require-benchmark --save
# Or Using Yarn
yarn add require-benchmark
```
## Example
```js
// eslint-disable-next-line import/no-unassigned-import
require('require-benchmark') // First import
const fs = require('fs')
const path = require('path')
fs.readFileSync(path.resolve('package.json')).toString()
```
## Tests
To run the test suite, first install the dependencies, then run `test`:
```sh
# NPM
npm test
# Or Using Yarn
yarn test
```
## Dependencies
None
## Dev Dependencies
- [xo](https://ghub.io/xo): JavaScript happiness style linter ❤️
## Contributors
Pull requests and stars are always welcome. For bugs and feature requests, please [create an issue](https://github.com/TiagoDanin/Require-Benchmark/issues). [List of all contributors](https://github.com/TiagoDanin/Require-Benchmark/graphs/contributors).
## License
[MIT](LICENSE) © [Tiago Danin](https://TiagoDanin.github.io)