Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

disk-read-experiment

Is it faster to run node.js disk operations with maximal parallelism? Or to chain them? Or something in between? This experiment tries to find out.

The test app is the equivalent to du - Go through a directory tree, stat every entry and get its size. Tally it up.

Usage

npm install
./src/bin/du.js -h
./src/bin/experiment.js -h

Then follow the instructions.

Results

See the blog article:

https://pantas.net/parallelize-or-serialize-disk-access/

About

Is it faster to run node.js disk operations with maximal parallelism? Or to chain them? Or something in between? This experiment tries to find out.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages