Skip to content

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

Notifications You must be signed in to change notification settings

hmistry/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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 59.0%
  • Ruby 20.6%
  • JavaScript 20.4%