1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Require 8 repeats for accurate measurement

This commit is contained in:
Takashi Kokubun 2019-09-16 00:27:23 +09:00
parent d1f72cab2e
commit 49fe824886
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -1,7 +1,7 @@
# Original: https://github.com/amatsuda/string_template/blob/master/benchmark.rb
require 'benchmark_driver'
Benchmark.driver(repeat_count: 1) do |x|
Benchmark.driver(repeat_count: 8) do |x|
x.prelude %{
require 'rails'
require 'action_view'