Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Uncomment REXML part of bench again.

  • Loading branch information...
commit 0979fdfd63c45be13ff47557a28456759493b431 1 parent bf9b3d1
@headius authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 test/bench.rb
View
16 test/bench.rb
@@ -71,14 +71,14 @@ def report
(ARGV[0] || 5).to_i.times do
Benchmark.bm(20) do |bm|
- # bm.report 'REXML' do
- # p_1 = L.new
- # f = 'test/o-0678.xml'
- # parser = nil
- # File.open(f) do |file|
- # REXML::Document.parse_stream(file, p_1)
- # end
- # end
+ bm.report 'REXML' do
+ p_1 = L.new
+ f = 'test/o-0678.xml'
+ parser = nil
+ File.open(f) do |file|
+ REXML::Document.parse_stream(file, p_1)
+ end
+ end
bm.report 'RX' do
p_1 = L.new
Please sign in to comment.
Something went wrong with that request. Please try again.