Skip to content

Node vs Ruby I/O benchmarks when resizing images with libvips.

Notifications You must be signed in to change notification settings

shime/node-vs-ruby-io

Repository files navigation

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

About

Node vs Ruby I/O benchmarks when resizing images with libvips.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •