summaryrefslogtreecommitdiff
path: root/benchmarks/generator2_benchmark.rb
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2009-10-21 23:56:26 +0200
committerFlorian Frank <flori@ping.de>2009-10-26 22:58:08 +0100
commit52e16cb83f17beb568b6c897ca0e16c4cfe65ff2 (patch)
tree1d21c8350a266e6c357ac31dc3f655ea6cec860d /benchmarks/generator2_benchmark.rb
parent14aac9965e031a481f032537c88a1ea40d42eabf (diff)
downloadjson-52e16cb83f17beb568b6c897ca0e16c4cfe65ff2.tar.gz
use nesting instead of circular check
Diffstat (limited to 'benchmarks/generator2_benchmark.rb')
-rwxr-xr-xbenchmarks/generator2_benchmark.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/benchmarks/generator2_benchmark.rb b/benchmarks/generator2_benchmark.rb
index bd99db9..10cf711 100755
--- a/benchmarks/generator2_benchmark.rb
+++ b/benchmarks/generator2_benchmark.rb
@@ -184,20 +184,20 @@ if $0 == __FILE__
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 "#{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 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 Generator2BenchmarkYajl, :generator, :load => yes
end
end
end