Created
September 17, 2013 11:28
-
-
Save agrimm/6593082 to your computer and use it in GitHub Desktop.
Benchmarking of change to Bio::ClustalW::Report
This file contains hidden or 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
# Summary | |
Old version New version | |
MRI 2.0 9.23 5.37 | |
-- 5.39 | |
MRI 1.9.3 7.98 4.86 | |
JRuby 1.7.4 12.29 2.58 | |
JRuby 1.7.4 –2.0 8.54 2.85 | |
JRuby 1.7.4 –2.0 12.3 2.62 | |
JRuby 1.7.4 –2.0 6.6 2.71 | |
RBX 8.6 5.32 | |
RBX 9.02 5.41 | |
# Existing code | |
$ ruby -W0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
8.970000 0.030000 9.000000 ( 9.002544) | |
--------------------------- total: 9.000000sec | |
user system total real | |
9.210000 0.010000 9.220000 ( 9.226682) | |
$ ruby --version | |
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin10.8.0] | |
$ rbenv shell 1.9.3-p327 | |
$ ruby -W0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
8.080000 0.030000 8.110000 ( 8.116072) | |
--------------------------- total: 8.110000sec | |
user system total real | |
7.970000 0.020000 7.990000 ( 7.983513) | |
$ rbenv shell jruby-1.7.4 | |
$ ruby -W0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
18.620000 0.240000 18.860000 ( 15.999000) | |
-------------------------- total: 18.860000sec | |
user system total real | |
12.580000 0.040000 12.620000 ( 12.288000) | |
$ ruby -W0 --2.0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
13.760000 0.210000 13.970000 ( 11.462000) | |
-------------------------- total: 13.970000sec | |
user system total real | |
8.900000 0.040000 8.940000 ( 8.536000) | |
$ ruby -W0 --2.0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
18.170000 0.220000 18.390000 ( 15.543000) | |
-------------------------- total: 18.390000sec | |
user system total real | |
12.800000 0.050000 12.850000 ( 12.302000) | |
$ ruby -W0 --2.0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
12.180000 0.210000 12.390000 ( 9.814000) | |
-------------------------- total: 12.390000sec | |
user system total real | |
7.100000 0.050000 7.150000 ( 6.596000) | |
$ rbenv shell rbx-2.0.0-dev | |
$ ruby --version | |
rubinius 2.0.0.n213 (1.9.3 c7f6ce0a 2013-08-01 JI) [x86_64-apple-darwin10.8.0] | |
$ ruby -W0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
9.766575 0.045029 9.811604 ( 9.903489) | |
--------------------------- total: 9.811604sec | |
user system total real | |
8.582200 0.014278 8.596478 ( 8.599763) | |
$ ruby -W0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
9.778771 0.046609 9.825380 ( 9.906836) | |
--------------------------- total: 9.825380sec | |
user system total real | |
8.704039 0.030050 8.734089 ( 9.016711) | |
# New, improved, version | |
$ ruby --version | |
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin10.8.0] | |
$ ruby -W0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
5.460000 0.020000 5.480000 ( 5.478545) | |
--------------------------- total: 5.480000sec | |
user system total real | |
5.370000 0.010000 5.380000 ( 5.366265) | |
$ ruby -W0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
5.490000 0.030000 5.520000 ( 5.523410) | |
--------------------------- total: 5.520000sec | |
user system total real | |
5.380000 0.000000 5.380000 ( 5.389074) | |
$ rbenv shell 1.9.3-p327 | |
$ ruby -W0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
4.970000 0.030000 5.000000 ( 4.998770) | |
--------------------------- total: 5.000000sec | |
user system total real | |
4.850000 0.010000 4.860000 ( 4.861578) | |
$ rbenv shell jruby-1.7.4 | |
$ ruby -W0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
8.900000 0.250000 9.150000 ( 6.225000) | |
--------------------------- total: 9.150000sec | |
user system total real | |
3.000000 0.050000 3.050000 ( 2.575000) | |
$ ruby -W0 --2.0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
9.040000 0.210000 9.250000 ( 6.196000) | |
--------------------------- total: 9.250000sec | |
user system total real | |
3.390000 0.040000 3.430000 ( 2.852000) | |
$ ruby -W0 --2.0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
9.100000 0.260000 9.360000 ( 6.321000) | |
--------------------------- total: 9.360000sec | |
user system total real | |
3.170000 0.050000 3.220000 ( 2.622000) | |
$ ruby -W0 --2.0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
8.660000 0.210000 8.870000 ( 5.975000) | |
--------------------------- total: 8.870000sec | |
user system total real | |
3.260000 0.050000 3.310000 ( 2.710000) | |
$ rbenv shell rbx-2.0.0-dev | |
$ ruby -W0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
6.630176 0.044613 6.674789 ( 6.738290) | |
--------------------------- total: 6.674789sec | |
user system total real | |
5.310688 0.011361 5.322049 ( 5.322114) | |
$ ruby -W0 sample/test_clustalw_report.rb | |
Rehearsal ------------------------------------ | |
6.769505 0.044074 6.813579 ( 6.849635) | |
--------------------------- total: 6.813579sec | |
user system total real | |
5.384645 0.016239 5.400884 ( 5.414691) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment