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:
Yorick Peterse committed 2014-04-10 21:31:01 +02:00
1 parent 25edd2de00
commit 144c95cbb4
5 files changed
+2366 -4499

No files matched your search

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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