Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 563 Bytes

readme.md

File metadata and controls

41 lines (26 loc) · 563 Bytes

Node vs Ruby I/O

Comparison of I/O performance for Node and Ruby.

Operations:

  • read raw image from disk
  • resize it in small, medium and large size
  • write thumbnails to disk

Results

Benchmarking results on Macbook Air 2015 i7 8GB RAM.

  • Ruby version: 2.4.1p111
  • Node version: 8.4.0

Large image

Small image

Running benchmarks

You will need libvips installed.

For MacOS do

brew install vips

After that run

rake

License

MIT