diff --git a/benchmark/xml/parser/html_bench.rb b/benchmark/xml/parser/html_bench.rb
index 5e28983..9637784 100644
--- a/benchmark/xml/parser/html_bench.rb
+++ b/benchmark/xml/parser/html_bench.rb
@@ -1,9 +1,17 @@
require_relative '../../benchmark_helper'
+require 'nokogiri'
+
html = read_html
Benchmark.ips do |bench|
- bench.report 'parse HTML' do
- Oga::HTML::Parser.new(html).parse
+ bench.report 'Oga' do
+ Oga.parse_html(html)
end
+
+ bench.report 'Nokogiri' do
+ Nokogiri::HTML(html)
+ end
+
+ bench.compare!
end