diff options
Diffstat (limited to 'benchmarks/generator2_benchmark.rb')
-rwxr-xr-x | benchmarks/generator2_benchmark.rb | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/benchmarks/generator2_benchmark.rb b/benchmarks/generator2_benchmark.rb index 60ba17f..bd99db9 100755 --- a/benchmarks/generator2_benchmark.rb +++ b/benchmarks/generator2_benchmark.rb @@ -182,22 +182,22 @@ if $0 == __FILE__ Generator2BenchmarkYajl.run else system "#{RAKE_PATH} clean" -# system "#{RUBY_PATH} #$0 rails" -# system "#{RUBY_PATH} #$0 pure" - system "#{RAKE_PATH} compile_ext" - system "#{RUBY_PATH} #$0 ext" - system "#{RUBY_PATH} #$0 yajl" + system "#{RUBY_PATH} #$0 rails" + system "#{RUBY_PATH} #$0 pure" +# system "#{RAKE_PATH} compile_ext" +# system "#{RUBY_PATH} #$0 ext" +# system "#{RUBY_PATH} #$0 yajl" Bullshit.compare do output_filename File.join(File.dirname(__FILE__), 'data', 'Generator2BenchmarkComparison.log') - benchmark Generator2BenchmarkExt, :generator_fast, :load => yes - benchmark Generator2BenchmarkExt, :generator_safe, :load => yes - benchmark Generator2BenchmarkExt, :generator_pretty, :load => yes -# benchmark Generator2BenchmarkPure, :generator_fast, :load => yes -# benchmark Generator2BenchmarkPure, :generator_safe, :load => yes -# benchmark Generator2BenchmarkPure, :generator_pretty, :load => yes -# benchmark Generator2BenchmarkRails, :generator, :load => yes - benchmark Generator2BenchmarkYajl, :generator, :load => yes +# benchmark Generator2BenchmarkExt, :generator_fast, :load => yes +# benchmark Generator2BenchmarkExt, :generator_safe, :load => yes +# benchmark Generator2BenchmarkExt, :generator_pretty, :load => yes + benchmark Generator2BenchmarkPure, :generator_fast, :load => yes + benchmark Generator2BenchmarkPure, :generator_safe, :load => yes + benchmark Generator2BenchmarkPure, :generator_pretty, :load => yes + benchmark Generator2BenchmarkRails, :generator, :load => yes +# benchmark Generator2BenchmarkYajl, :generator, :load => yes end end end |