Fixed oga requires for benchmarking/profiling
This commit is contained in:
parent
b8415b7376
commit
4ba9af4f74
|
@ -2,8 +2,7 @@ require 'bundler/setup'
|
||||||
require 'stringio'
|
require 'stringio'
|
||||||
require 'benchmark'
|
require 'benchmark'
|
||||||
require 'benchmark/ips'
|
require 'benchmark/ips'
|
||||||
|
require 'oga'
|
||||||
require_relative '../lib/oga'
|
|
||||||
|
|
||||||
# @return [File]
|
# @return [File]
|
||||||
def big_xml_file
|
def big_xml_file
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
require 'bundler/setup'
|
require 'bundler/setup'
|
||||||
require 'timeout'
|
require 'timeout'
|
||||||
require 'stringio'
|
require 'stringio'
|
||||||
|
require 'oga'
|
||||||
require_relative '../lib/oga'
|
|
||||||
|
|
||||||
Thread.abort_on_exception = true
|
Thread.abort_on_exception = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue