Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)