Replaced the HRS fixture with one from Gist.
The HRS output is invalid, which Oga can not handle at this time.
This commit is contained in:
parent
25edd2de00
commit
144c95cbb4
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
require_relative '../../lib/oga'
|
||||
require 'benchmark/ips'
|
||||
|
||||
html = File.read(File.expand_path('../../fixtures/hrs.html', __FILE__))
|
||||
html = File.read(File.expand_path('../../fixtures/gist.html', __FILE__))
|
||||
|
||||
Benchmark.ips do |bench|
|
||||
bench.report 'lex HTML' do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require_relative '../../lib/oga'
|
||||
require 'benchmark'
|
||||
|
||||
html = File.read(File.expand_path('../../fixtures/hrs.html', __FILE__))
|
||||
html = File.read(File.expand_path('../../fixtures/gist.html', __FILE__))
|
||||
|
||||
Benchmark.bmbm(20) do |bench|
|
||||
bench.report 'lex HTML' do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require_relative '../../lib/oga'
|
||||
require 'benchmark/ips'
|
||||
|
||||
html = File.read(File.expand_path('../../fixtures/hrs.html', __FILE__))
|
||||
html = File.read(File.expand_path('../../fixtures/gist.html', __FILE__))
|
||||
|
||||
Benchmark.ips do |bench|
|
||||
bench.report 'parse HTML' do
|
||||
|
|
Loading…
Reference in New Issue