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.
- Host: GitHub
- URL: https://github.com/shime/node-vs-ruby-io
- Owner: shime
- Created: 2017-09-03T06:59:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-13T02:26:40.000Z (over 8 years ago)
- Last Synced: 2025-03-25T17:47:41.467Z (10 months ago)
- Topics: benchmark, io, node, nodejs, ruby
- Language: HTML
- Homepage:
- Size: 5.07 MB
- Stars: 11
- Watchers: 4
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
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

### Small image

## Running benchmarks
You will need [libvips](https://github.com/jcupitt/libvips) installed.
For MacOS do
```
brew install vips
```
After that run
```
rake
```
# License
MIT