Updated a benchmark description.
This commit is contained in:
parent
a42240bc2e
commit
a1e9e74b9c
|
@ -5,7 +5,7 @@ xml = File.read(File.expand_path('../../fixtures/big.xml', __FILE__))
|
||||||
parser = Oga::XML::Parser.new(xml)
|
parser = Oga::XML::Parser.new(xml)
|
||||||
|
|
||||||
Benchmark.bmbm(10) do |bench|
|
Benchmark.bmbm(10) do |bench|
|
||||||
bench.report '11MB of XML' do
|
bench.report '10MB of XML' do
|
||||||
parser.parse
|
parser.parse
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue