An open API service indexing awesome lists of open source software.

https://github.com/shime/node-vs-ruby-io

Node vs Ruby I/O benchmarks when resizing images with libvips.
https://github.com/shime/node-vs-ruby-io

benchmark io node nodejs ruby

Last synced: 10 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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
![](/large-benchmark.png)

### Small image
![](/small-benchmark.png)

## Running benchmarks

You will need [libvips](https://github.com/jcupitt/libvips) installed.

For MacOS do

```
brew install vips
```

After that run

```
rake
```

# License

MIT