diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2017-11-02 23:16:14 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2017-11-02 23:16:14 +0100 |
commit | 1f2367aead6b76f694041cb2688652ed70ae215a (patch) | |
tree | 2753212c91c93d61afa2d12aac85d5b3a873e52b /bench/bench.rb | |
parent | 1bdaeef6c43436e4984f5b96cb17618f82832225 (diff) | |
parent | e15cf96405177153e1418496a7a8e85beaa679fb (diff) | |
download | coderay-1f2367aead6b76f694041cb2688652ed70ae215a.tar.gz |
Merge branch 'master' into dsl
Diffstat (limited to 'bench/bench.rb')
-rw-r--r-- | bench/bench.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/bench.rb b/bench/bench.rb index 34ea9f9..a47721e 100644 --- a/bench/bench.rb +++ b/bench/bench.rb @@ -15,7 +15,7 @@ raise 'Example file is empty.' if data.empty? format = ARGV.fetch(1, 'html').downcase encoder = CodeRay.encoder(format) -size = ARGV.fetch(2, 2000).to_i * 1000 +size = ARGV.fetch(2, 3000).to_i * 1000 unless size.zero? data += data until data.size >= size data = data[0, size] |