don't change benchmark rules

This commit is contained in:
Kornelius Kalnbach 2017-09-03 11:07:04 +02:00
parent 6f95c964d9
commit 51ee233e72
1 changed files with 1 additions and 1 deletions

View File

@ -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]