Skip to content

Instantly share code, notes, and snippets.

@indutny
Created January 21, 2013 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indutny/311dab8d6eee287b2ff4 to your computer and use it in GitHub Desktop.
Save indutny/311dab8d6eee287b2ff4 to your computer and use it in GitHub Desktop.
~/Code/indutny/node > ./node ./benchmark/fs-readfile.js
................................................................................................
read the file 95440 times (higher is better)
104793.7 ns per read (lower is better)
9542.55 reads per sec (higher is better)
~/Code/indutny/node > ~/.node/0.8.node ./benchmark/fs-readfile.js
0.8.0/ 0.8.11/ 0.8.11-orig/ 0.8.14/ 0.8.15/ 0.8.3/ 0.8.6/ 0.8.8/ 0.8.9/
~/Code/indutny/node > ~/.node/0.8.node ./benchmark/fs-readfile.js
0.8.0/ 0.8.11/ 0.8.11-orig/ 0.8.14/ 0.8.15/ 0.8.3/ 0.8.6/ 0.8.8/ 0.8.9/
~/Code/indutny/node > ~/.node/0.8.15/bin/node ./benchmark/fs-readfile.js
.............................................................................................
read the file 92034 times (higher is better)
108675.74 ns per read (lower is better)
9201.68 reads per sec (higher is better)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment