I will submit patches to remove the unintended hotspots.
Its “shri”. I can work with Jim Deville to figure out the right process. Thanks!
From:
ruby-bench...@googlegroups.com
[mailto:ruby-bench...@googlegroups.com] On Behalf Of Antonio
Cangiano
Sent: Monday, November 16, 2009 5:12 PM
To: ruby-bench...@googlegroups.com
Subject: [RBS] Re: Micro-nature of macro benchmarks
(bm_norvig_spelling.rb)
On Mon, Nov 16, 2009 at 7:13 PM, Shri Borde <Shri....@microsoft.com> wrote:
I thought I'd try your RDoc benchmark, but I can't seem to get it to run. Is it just me? Anyone else hitting problems?
I invoked it as:
$ rake bench:file FILE=benchmarks/rdoc/bm_rdoc_against_itself_rdoc.rb
Do I need to do anything else first? Later version of 1.9?
Here's what I got as a result:
$ cat RBS-ruby19-091117.044947.yaml
---
name: benchmarks/rdoc/bm_rdoc_against_itself_rdoc.rb
parameters:
- 1
ruby_ver: 1.9.1 2009-01-30 0 x86_64-linux; -O2 -g -Wall -Wno-parentheses; '--prefix=/usr/local/ruby1.9'
---
name: benchmarks/rdoc/bm_rdoc_against_itself_rdoc.rb
parameter: 1
status: "NoMethodError undefined method `<=>' for nil:NilClass"
---
name: benchmarks/rdoc/bm_rdoc_against_itself_rdoc.rb
status: Terminated for unknown reason
Do you have result times on any impls?
Thanks,
Monty
cat results/rbs/RBS-ruby-091117.050656.yaml
---
name: benchmarks/rdoc/bm_rdoc_against_itself_rdoc.rb
parameters:
- 1
ruby_ver: 1.8.6 2008-08-11 287 x86_64-linux;-g -O2; '--prefix=/usr/local/ruby186p287'
---
name: benchmarks/rdoc/bm_rdoc_against_itself_rdoc.rb
parameter: 1
status: "Gem::LoadError Could not find RubyGem rdoc (>= 2.4)\n"
---
name: benchmarks/rdoc/bm_rdoc_against_itself_rdoc.rb
status: Terminated for unknown reason
Also check my recent addition of rdoc benchmarks--they and the rails
benchmarks are about the closest to reality I think is in there.
-r
Hmm. Appears that my attempt to not require gems failed. Try it now
[there are a few more tests in there, now, too].
> do you have any result times for any impls?
Attached is 1.8.6 windows (i.e. about as bad as ruby can be)
-r
---
name: benchmarks/rdoc/bm_rdoc_against_itself_darkfish.rb
parameters:
- 1
ruby_ver: 1.8.6 2009-03-31 368 i386-mingw32;-g -O2 ; '--with-winsock2'
'--disable-install-doc' '--enable-shared' '--prefix='
---
name: benchmarks/rdoc/bm_rdoc_against_itself_darkfish.rb
parameter: 1
iterations: 2
max: 30.9375
min: 26.65625
median: 30.9375
mean: 28.796875
standard_deviation: 2.140625
times:
- 30.9375
- 26.65625
memory_usages:
- 58273792
- 58449920
---
name: benchmarks/rdoc/bm_rdoc_against_itself_darkfish.rb
status: success
---
name: benchmarks/rdoc/bm_rdoc_against_itself_ri.rb
parameters:
- 1
ruby_ver: 1.8.6 2009-03-31 368 i386-mingw32;-g -O2 ; '--with-winsock2'
'--disable-install-doc' '--enable-shared' '--prefix='
---
name: benchmarks/rdoc/bm_rdoc_against_itself_ri.rb
parameter: 1
iterations: 2
max: 54.3125
min: 37.71875
median: 54.3125
mean: 46.015625
standard_deviation: 8.296875
times:
- 54.3125
- 37.71875
memory_usages:
- 57831424
- 59006976
---
name: benchmarks/rdoc/bm_rdoc_against_itself_ri.rb
status: success
---
name: benchmarks/rdoc/bm_rdoc_core_darkfish.rb
parameters:
- 1
ruby_ver: 1.8.6 2009-03-31 368 i386-mingw32;-g -O2 ; '--with-winsock2'
'--disable-install-doc' '--enable-shared' '--prefix='
---
name: benchmarks/rdoc/bm_rdoc_core_darkfish.rb
parameter: 1
iterations: 2
max: 552.296875
min: 518.34375
median: 552.296875
mean: 535.3203125
standard_deviation: 16.9765625
times:
- 518.34375
- 552.296875
memory_usages:
- 187084800
- 229449728
---
name: benchmarks/rdoc/bm_rdoc_core_darkfish.rb
status: success
I'm currently working on a new suite which is a reorganization the existing RBS and the addition of more benchmarks. It will be release this week at rubyconf. It strives to not try and exercise every syntax element of an implementation, but rather get a broader feel for the performance.