From e26d5a866456e6caed126d01d1b7a3c4f9ebf1e9 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Thu, 1 May 2014 12:25:49 +0200 Subject: [PATCH] Removed unused variable in a lexer benchmark. --- benchmark/lexer/bench_big_xml_time.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/benchmark/lexer/bench_big_xml_time.rb b/benchmark/lexer/bench_big_xml_time.rb index 244a0ea..18c3e97 100644 --- a/benchmark/lexer/bench_big_xml_time.rb +++ b/benchmark/lexer/bench_big_xml_time.rb @@ -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