summaryrefslogtreecommitdiff
path: root/bench/caching.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bench/caching.rb')
-rw-r--r--bench/caching.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/caching.rb b/bench/caching.rb
index 3f39fb9..7ea4e6a 100644
--- a/bench/caching.rb
+++ b/bench/caching.rb
@@ -1,8 +1,8 @@
require 'coderay'
require 'benchmark'
-N = 10
-$code = 'foo(Foo[:foo, /foo/m]); ' * 500
+N = 1000
+$code = 'snoo Snoo ' * 10
Benchmark.bm 15 do |bm|
bm.report 'loading' do
CodeRay::Scanners.load :ruby