From 19e983458381c30a9c3ae5f44c8a69b2e4adda0c Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Thu, 13 Nov 2014 01:18:16 +0100 Subject: [PATCH] Compare XPath benchmark blocks. --- benchmark/xpath/evaluator/descendant_or_self_bench.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benchmark/xpath/evaluator/descendant_or_self_bench.rb b/benchmark/xpath/evaluator/descendant_or_self_bench.rb index b6f0f65..64eed67 100644 --- a/benchmark/xpath/evaluator/descendant_or_self_bench.rb +++ b/benchmark/xpath/evaluator/descendant_or_self_bench.rb @@ -10,4 +10,6 @@ Benchmark.ips do |bench| bench.report 'long form' do document.xpath('descendant-or-self::meta') end + + bench.compare! end