Created
February 18, 2013 14:23
-
-
Save hosiawak/4977776 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
karol@brenta:~/projects/personal/rubinius (master) $ ruby-head --version | |
ruby 2.0.0dev (2013-02-18) [x86_64-darwin12.2.1] | |
karol@brenta:~/projects/personal/rubinius (master) $ ./bin/benchmark -t ./bin/rbx -t ^ruby-head benchmark/core/float/ | |
Found rvm-managed ruby: ruby-head | |
=== ./bin/rbx === | |
Float + Float => Float | |
39644327.2 (±1.9%) i/s - 197996600 in 4.996082s (cycle=147100) | |
Float + Fixnum => Float | |
39234682.7 (±1.3%) i/s - 196176456 in 5.000912s (cycle=199976) | |
Float + Bignum => Float | |
17220723.5 (±1.2%) i/s - 86070540 in 4.998796s (cycle=182740) | |
Float <=> Float 62026924.9 (±1.6%) i/s - 310033116 in 4.999672s (cycle=201582) | |
Float <=> Fixnum 61835510.7 (±2.2%) i/s - 308911625 in 4.998169s (cycle=202565) | |
Float <=> Bignum 19884975.6 (±1.5%) i/s - 99475276 in 5.003751s (cycle=188044) | |
Float / Float => Float | |
39600213.1 (±1.6%) i/s - 197887914 in 4.998531s (cycle=198086) | |
Float / Fixnum => Float | |
41051790.8 (±1.7%) i/s - 205211289 in 5.000318s (cycle=197129) | |
Float / Bignum => Float | |
17681766.0 (±1.4%) i/s - 88500335 in 5.006188s (cycle=175945) | |
Float == Float 63101064.5 (±2.1%) i/s - 315422328 in 5.000879s (cycle=214136) | |
Float == Fixnum 59580643.1 (±2.0%) i/s - 297776640 in 5.000030s (cycle=213920) | |
Float == Bignum 21170749.6 (±1.7%) i/s - 105862295 in 5.001848s (cycle=196405) | |
Float >= Float 61658876.6 (±2.3%) i/s - 308089600 in 4.999396s (cycle=211600) | |
Float >= Fixnum 61819603.6 (±2.0%) i/s - 308944125 in 4.999674s (cycle=212625) | |
Float >= Bignum 20591482.7 (±3.2%) i/s - 102784608 in 4.997541s (cycle=195408) | |
Float > Float 61879550.7 (±3.1%) i/s - 308915024 in 4.998026s (cycle=206494) | |
Float > Fixnum 61134554.6 (±2.4%) i/s - 305526156 in 5.000556s (cycle=206158) | |
Float > Bignum 20324224.4 (±3.0%) i/s - 101611098 in 5.004527s (cycle=191358) | |
Float <= Float 61718353.3 (±2.9%) i/s - 308198384 in 4.998097s (cycle=205192) | |
Float <= Fixum 59295849.0 (±2.3%) i/s - 296326790 in 5.000255s (cycle=210310) | |
Float <= Bignum 20438435.8 (±3.1%) i/s - 102071648 in 4.999674s (cycle=191864) | |
Float < Float 61116306.3 (±2.5%) i/s - 305374781 in 4.999822s (cycle=205363) | |
Float < Fixum 59831097.3 (±3.7%) i/s - 298539165 in 4.997640s (cycle=203781) | |
Float < Bignum 20947015.0 (±4.2%) i/s - 104509160 in 4.999732s (cycle=183995) | |
Float % Float => Float | |
33306502.8 (±1.7%) i/s - 166486056 in 5.000099s (cycle=199146) | |
Float % Fixnum => Float | |
32982540.0 (±2.0%) i/s - 164881398 in 5.001203s (cycle=202557) | |
Float % Bignum => Float | |
14829545.6 (±2.3%) i/s - 74236464 in 5.008815s (cycle=180624) | |
Float * Float => Float | |
39379135.8 (±1.9%) i/s - 196722516 in 4.997415s (cycle=204069) | |
Float * Fixnum => Float | |
39061999.7 (±1.8%) i/s - 195191593 in 4.998540s (cycle=203113) | |
Float * Bignum => Float | |
17445628.3 (±2.2%) i/s - 87238344 in 5.003244s (cycle=184827) | |
- Float 43137975.9 (±1.8%) i/s - 215627030 in 5.000251s (cycle=203230) | |
Float ** Float => Float | |
16068928.3 (±2.9%) i/s - 80271216 in 5.000455s (cycle=185813) | |
Float ** Fixnum => Float | |
14013423.7 (±2.5%) i/s - 70053928 in 5.002477s (cycle=178709) | |
Float - Float => Float | |
39288489.7 (±2.2%) i/s - 196284366 in 4.998383s (cycle=200086) | |
Float - Fixnum => Float | |
41140510.6 (±1.5%) i/s - 205542896 in 4.997323s (cycle=202306) | |
Float - Bignum => Float | |
17286995.7 (±2.3%) i/s - 86362240 in 4.998889s (cycle=187744) | |
=== /Users/karol/.rvm/rubies/ruby-head/bin/ruby === | |
Float + Float => Float | |
29570649.2 (±2.0%) i/s - 147812715 in 5.000592s (cycle=127315) | |
Float + Fixnum => Float | |
19797095.0 (±1.7%) i/s - 98939100 in 4.999127s (cycle=126845) | |
Float + Bignum => Float | |
15358131.5 (±1.7%) i/s - 76743180 in 4.998324s (cycle=123580) | |
Float <=> Float 20227087.5 (±1.9%) i/s - 101108096 in 5.000386s (cycle=122704) | |
Float <=> Fixnum 18226469.9 (±2.5%) i/s - 91030212 in 4.997960s (cycle=121212) | |
Float <=> Bignum 8699563.4 (±3.1%) i/s - 43501020 in 5.005476s (cycle=105585) | |
Float / Float => Float | |
29882840.9 (±1.8%) i/s - 149380033 in 5.000475s (cycle=128887) | |
Float / Fixnum => Float | |
19495819.0 (±1.9%) i/s - 97399776 in 4.997819s (cycle=122208) | |
Float / Bignum => Float | |
14790674.4 (±1.7%) i/s - 73960432 in 5.001953s (cycle=117026) | |
Float == Float 32517007.0 (±2.2%) i/s - 162402529 in 4.996745s (cycle=124829) | |
Float == Fixnum 16117966.0 (±1.9%) i/s - 80599845 in 5.002412s (cycle=124961) | |
Float == Bignum 7917668.2 (±2.1%) i/s - 39628112 in 5.007256s (cycle=115198) | |
Float >= Float 30833313.7 (±3.0%) i/s - 153936147 in 4.998027s (cycle=131457) | |
Float >= Fixnum 16928875.5 (±1.5%) i/s - 84658444 in 5.001989s (cycle=125606) | |
Float >= Bignum 8446470.6 (±2.2%) i/s - 42222686 in 5.001390s (cycle=110242) | |
Float > Float 31326625.7 (±1.8%) i/s - 156484249 in 4.996992s (cycle=128371) | |
Float > Fixnum 16662678.4 (±2.1%) i/s - 83235600 in 4.997813s (cycle=123312) | |
Float > Bignum 8309671.9 (±3.6%) i/s - 41493996 in 5.000949s (cycle=111543) | |
Float <= Float 31057780.0 (±2.6%) i/s - 155179325 in 5.000359s (cycle=126677) | |
Float <= Fixum 16590590.3 (±2.4%) i/s - 82862906 in 4.997776s (cycle=119399) | |
Float <= Bignum 8384420.1 (±1.6%) i/s - 41918356 in 5.000921s (cycle=108037) | |
Float < Float 30735192.6 (±2.8%) i/s - 153472415 in 4.998054s (cycle=127363) | |
Float < Fixum 17155897.9 (±2.4%) i/s - 85687894 in 4.997916s (cycle=116741) | |
Float < Bignum 8379356.4 (±3.3%) i/s - 41888661 in 5.005275s (cycle=105513) | |
Float % Float => Float | |
21879921.8 (±1.8%) i/s - 109349328 in 4.999389s (cycle=124828) | |
Float % Fixnum => Float | |
16027876.0 (±2.4%) i/s - 80073972 in 4.998776s (cycle=116556) | |
Float % Bignum => Float | |
13017557.6 (±1.6%) i/s - 65071968 in 5.000145s (cycle=108816) | |
Float * Float => Float | |
29938140.0 (±2.6%) i/s - 149553840 in 4.999212s (cycle=130160) | |
Float * Fixnum => Float | |
19667769.3 (±2.0%) i/s - 98297900 in 4.999869s (cycle=114700) | |
Float * Bignum => Float | |
14941997.5 (±1.9%) i/s - 74702850 in 5.001380s (cycle=108265) | |
- Float 22290179.8 (±2.1%) i/s - 111391587 in 4.999557s (cycle=122543) | |
Float ** Float => Float | |
9459234.2 (±3.3%) i/s - 47296018 in 5.005513s (cycle=108977) | |
Float ** Fixnum => Float | |
9831076.8 (±3.0%) i/s - 49080600 in 4.996838s (cycle=109800) | |
Float - Float => Float | |
29879210.0 (±2.3%) i/s - 149303123 in 4.999485s (cycle=129491) | |
Float - Fixnum => Float | |
19376539.5 (±2.0%) i/s - 96781734 in 4.996835s (cycle=125041) | |
Float - Bignum => Float | |
15384487.5 (±1.7%) i/s - 76888656 in 4.999281s (cycle=123219) | |
Comparing benchmark/core/float//bench_mul.rb:Float * Fixnum => Float: | |
./bin/rbx: 39061999 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 19667769 i/s - 1.99x slower | |
Comparing benchmark/core/float//bench_le.rb:Float <= Bignum: | |
./bin/rbx: 20438435 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 8384420 i/s - 2.44x slower | |
Comparing benchmark/core/float//bench_lt.rb:Float < Bignum: | |
./bin/rbx: 20947014 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 8379356 i/s - 2.50x slower | |
Comparing benchmark/core/float//bench_add.rb:Float + Float => Float: | |
./bin/rbx: 39644327 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 29570649 i/s - 1.34x slower | |
Comparing benchmark/core/float//bench_neg.rb:- Float: | |
./bin/rbx: 43137975 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 22290179 i/s - 1.94x slower | |
Comparing benchmark/core/float//bench_div.rb:Float / Fixnum => Float: | |
./bin/rbx: 41051790 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 19495818 i/s - 2.11x slower | |
Comparing benchmark/core/float//bench_gt.rb:Float > Float: | |
./bin/rbx: 61879550 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 31326625 i/s - 1.98x slower | |
Comparing benchmark/core/float//bench_cmp.rb:Float <=> Float: | |
./bin/rbx: 62026924 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 20227087 i/s - 3.07x slower | |
Comparing benchmark/core/float//bench_div.rb:Float / Bignum => Float: | |
./bin/rbx: 17681766 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 14790674 i/s - 1.20x slower | |
Comparing benchmark/core/float//bench_div.rb:Float / Float => Float: | |
./bin/rbx: 39600213 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 29882840 i/s - 1.33x slower | |
Comparing benchmark/core/float//bench_le.rb:Float <= Fixum: | |
./bin/rbx: 59295848 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 16590590 i/s - 3.57x slower | |
Comparing benchmark/core/float//bench_pow.rb:Float ** Float => Float: | |
./bin/rbx: 16068928 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 9459234 i/s - 1.70x slower | |
Comparing benchmark/core/float//bench_add.rb:Float + Fixnum => Float: | |
./bin/rbx: 39234682 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 19797095 i/s - 1.98x slower | |
Comparing benchmark/core/float//bench_mul.rb:Float * Bignum => Float: | |
./bin/rbx: 17445628 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 14941997 i/s - 1.17x slower | |
Comparing benchmark/core/float//bench_mul.rb:Float * Float => Float: | |
./bin/rbx: 39379135 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 29938140 i/s - 1.32x slower | |
Comparing benchmark/core/float//bench_gt.rb:Float > Bignum: | |
./bin/rbx: 20324224 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 8309671 i/s - 2.45x slower | |
Comparing benchmark/core/float//bench_add.rb:Float + Bignum => Float: | |
./bin/rbx: 17220723 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 15358131 i/s - 1.12x slower | |
Comparing benchmark/core/float//bench_lt.rb:Float < Float: | |
./bin/rbx: 61116306 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 30735192 i/s - 1.99x slower | |
Comparing benchmark/core/float//bench_pow.rb:Float ** Fixnum => Float: | |
./bin/rbx: 14013423 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 9831076 i/s - 1.43x slower | |
Comparing benchmark/core/float//bench_gt.rb:Float > Fixnum: | |
./bin/rbx: 61134554 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 16662678 i/s - 3.67x slower | |
Comparing benchmark/core/float//bench_cmp.rb:Float <=> Fixnum: | |
./bin/rbx: 61835510 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 18226469 i/s - 3.39x slower | |
Comparing benchmark/core/float//bench_mod.rb:Float % Float => Float: | |
./bin/rbx: 33306502 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 21879921 i/s - 1.52x slower | |
Comparing benchmark/core/float//bench_sub.rb:Float - Bignum => Float: | |
./bin/rbx: 17286995 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 15384487 i/s - 1.12x slower | |
Comparing benchmark/core/float//bench_sub.rb:Float - Fixnum => Float: | |
./bin/rbx: 41140510 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 19376539 i/s - 2.12x slower | |
Comparing benchmark/core/float//bench_eql.rb:Float == Float: | |
./bin/rbx: 63101064 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 32517006 i/s - 1.94x slower | |
Comparing benchmark/core/float//bench_ge.rb:Float >= Fixnum: | |
./bin/rbx: 61819603 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 16928875 i/s - 3.65x slower | |
Comparing benchmark/core/float//bench_cmp.rb:Float <=> Bignum: | |
./bin/rbx: 19884975 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 8699563 i/s - 2.29x slower | |
Comparing benchmark/core/float//bench_mod.rb:Float % Fixnum => Float: | |
./bin/rbx: 32982539 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 16027875 i/s - 2.06x slower | |
Comparing benchmark/core/float//bench_eql.rb:Float == Bignum: | |
./bin/rbx: 21170749 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 7917668 i/s - 2.67x slower | |
Comparing benchmark/core/float//bench_ge.rb:Float >= Bignum: | |
./bin/rbx: 20591482 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 8446470 i/s - 2.44x slower | |
Comparing benchmark/core/float//bench_ge.rb:Float >= Float: | |
./bin/rbx: 61658876 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 30833313 i/s - 2.00x slower | |
Comparing benchmark/core/float//bench_mod.rb:Float % Bignum => Float: | |
./bin/rbx: 14829545 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 13017557 i/s - 1.14x slower | |
Comparing benchmark/core/float//bench_sub.rb:Float - Float => Float: | |
./bin/rbx: 39288489 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 29879209 i/s - 1.31x slower | |
Comparing benchmark/core/float//bench_le.rb:Float <= Float: | |
./bin/rbx: 61718353 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 31057779 i/s - 1.99x slower | |
Comparing benchmark/core/float//bench_lt.rb:Float < Fixum: | |
./bin/rbx: 59831097 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 17155897 i/s - 3.49x slower | |
Comparing benchmark/core/float//bench_eql.rb:Float == Fixnum: | |
./bin/rbx: 59580643 i/s | |
/Users/karol/.rvm/rubies/ruby-head/bin/ruby: 16117965 i/s - 3.70x slower |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment