Sha256: ac6c6efd5e28087a9822c0444a8c14c0e167b4c1197b45d9b239979d6a3d674b
Contents?: true
Size: 495 Bytes
Versions: 3
Compression:
Stored size: 495 Bytes
Contents
#!/usr/bin/env bash docker_command="docker run -m=4m -v `pwd`:`pwd` -w `pwd` hyper_iterator ruby ./benchmark/memory_bm" if [ "$1" = "each" ] || [ "$1" = 1 ]; then eval "$docker_command/each.rb" eval "$docker_command/each_bang.rb" elif [ "$1" = "each" ] || [ "$1" = 2 ]; then eval "$docker_command/each_slice.rb" eval "$docker_command/each_slice_bang.rb" else echo 'Please specify method for benchmarking. You can choose anyone from below:' echo '1. each!' echo '2. each_slice!' fi
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hyper_iterator-0.2.2 | bin/bm |
hyper_iterator-0.2.1 | bin/bm |
hyper_iterator-0.2.0 | bin/bm |