Removed unused variable in a lexer benchmark.

This commit is contained in:
Yorick Peterse 2014-05-01 12:25:49 +02:00
parent 2f36692abe
commit e26d5a8664
1 changed files with 1 additions and 2 deletions

View File

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