Removed unused variable in a lexer benchmark.
This commit is contained in:
parent
2f36692abe
commit
e26d5a8664
|
@ -1,8 +1,7 @@
|
||||||
require_relative '../../lib/oga'
|
require_relative '../../lib/oga'
|
||||||
require 'benchmark'
|
require 'benchmark'
|
||||||
|
|
||||||
xml = File.read(File.expand_path('../../fixtures/big.xml', __FILE__))
|
xml = File.read(File.expand_path('../../fixtures/big.xml', __FILE__))
|
||||||
lexer = Oga::XML::Lexer.new(xml)
|
|
||||||
|
|
||||||
Benchmark.bmbm(10) do |bench|
|
Benchmark.bmbm(10) do |bench|
|
||||||
bench.report '10MB of XML' do
|
bench.report '10MB of XML' do
|
||||||
|
|
Loading…
Reference in New Issue