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