diff options
author | Florian Frank <flori@ping.de> | 2010-09-22 22:21:02 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2010-09-23 01:16:01 +0200 |
commit | e3fe104e7d5ec184aac36128aed2d217cb655dfc (patch) | |
tree | 3a63dc0152effdb990defcd5c935e38209649a8f /benchmarks/generator2_benchmark.rb | |
parent | 2c0f8d2c9b15a33b8d10ffcb1959aef54d320b57 (diff) | |
download | json-e3fe104e7d5ec184aac36128aed2d217cb655dfc.tar.gz |
started to build jruby extension with Rakefile
Diffstat (limited to 'benchmarks/generator2_benchmark.rb')
-rwxr-xr-x | benchmarks/generator2_benchmark.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/generator2_benchmark.rb b/benchmarks/generator2_benchmark.rb index 3a32d05..9885143 100755 --- a/benchmarks/generator2_benchmark.rb +++ b/benchmarks/generator2_benchmark.rb @@ -138,7 +138,7 @@ class Generator2BenchmarkRails < Bullshit::RepeatCase histogram yes def benchmark_generator - @result = @big.to_json + @result = ActiveSupport::JSON.encode @big end alias reset_benchmark_generator generic_reset_method |