Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shisama/nodejs-read-file-benchmark-test
This repository is to compare performances between the fs.readFile function and the ReadableStream.
https://github.com/shisama/nodejs-read-file-benchmark-test
Last synced: about 9 hours ago
JSON representation
This repository is to compare performances between the fs.readFile function and the ReadableStream.
- Host: GitHub
- URL: https://github.com/shisama/nodejs-read-file-benchmark-test
- Owner: shisama
- License: mit
- Created: 2021-03-12T08:28:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-03-16T05:56:29.000Z (over 3 years ago)
- Last Synced: 2024-04-15T04:37:24.193Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 128 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This repository is to compare performances between the fs.readFile function and the ReadableStream.
## Setup
Install npm packages.
```
yarn
```Create CSV files to measure benchmark.
## Getting benchmark
To get benchmark, this repo uses benchmark.js.
Just execute the following command to get benchmark.```
yarn bench
```If the command succeeds, the results output like the following image:
![benchmark_result_example](./benchmark_screenshot.png)
## Getting execution time
WIP: Coming soon...## LICENSE
[MIT](./LICENSE)