Sha256: 8199b1bafddd1f1cbe088ab971f4a55bb1d2ee59f89eba97fb0db4b5c8c84b4d

Contents?: true

Size: 426 Bytes

Versions: 54

Compression:

Stored size: 426 Bytes

Contents

Benchmark

If you have a bit of code that you would like to benchmark across several versions of ruby all at once you can now do this easily with RVM. Given:

  ∴ cat increment.rb
    y=0
    1000.times do |x|
      y = x + 1
    end
We can benchmark this code against multiple ruby versions very easily:

  ∴ rvm 1.8.6,1.8.7,1.9.1,ree benchmark increment.rb


Documentation:

http://rvm.beginrescueend.com/set/benchmark/

Version data entries

54 entries across 54 versions & 2 rubygems

Version Path
rvm-0.1.42 help/benchmark
rvm-0.1.41 help/benchmark
rvm-0.1.40 help/benchmark
rvm-0.1.39 help/benchmark
rvm-0.1.38 help/benchmark
rvm-0.1.37 help/benchmark
rvm-0.1.36 help/benchmark
rvm-0.1.35 help/benchmark
rvm-0.1.34 help/benchmark
rvm-0.1.33 help/benchmark
rvm-0.1.32 help/benchmark
rvm-0.1.31 help/benchmark
rvm-0.1.30 help/benchmark
rvm-0.1.29 help/benchmark