summaryrefslogtreecommitdiff
path: root/lib/ffi_yajl/benchmark
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ffi_yajl/benchmark')
-rw-r--r--lib/ffi_yajl/benchmark/encode.rb2
-rw-r--r--lib/ffi_yajl/benchmark/encode_profile.rb2
-rw-r--r--lib/ffi_yajl/benchmark/parse.rb2
-rw-r--r--lib/ffi_yajl/benchmark/parse_profile.rb2
-rw-r--r--lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb2
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/ffi_yajl/benchmark/encode.rb b/lib/ffi_yajl/benchmark/encode.rb
index 17e12cc..81c1d26 100644
--- a/lib/ffi_yajl/benchmark/encode.rb
+++ b/lib/ffi_yajl/benchmark/encode.rb
@@ -13,7 +13,7 @@ if !defined?(RUBY_ENGINE) || RUBY_ENGINE !~ /jruby/
else
puts "INFO: skipping yajl-ruby on jruby"
end
-require "ffi_yajl"
+require_relative "../../ffi_yajl"
begin
require "json"
rescue LoadError
diff --git a/lib/ffi_yajl/benchmark/encode_profile.rb b/lib/ffi_yajl/benchmark/encode_profile.rb
index 468f88b..153912e 100644
--- a/lib/ffi_yajl/benchmark/encode_profile.rb
+++ b/lib/ffi_yajl/benchmark/encode_profile.rb
@@ -2,7 +2,7 @@
# See MIT-LICENSE
require "rubygems"
-require "ffi_yajl"
+require_relative "../../ffi_yajl"
begin
require "perftools"
rescue LoadError
diff --git a/lib/ffi_yajl/benchmark/parse.rb b/lib/ffi_yajl/benchmark/parse.rb
index ad0091c..431f0a9 100644
--- a/lib/ffi_yajl/benchmark/parse.rb
+++ b/lib/ffi_yajl/benchmark/parse.rb
@@ -1,7 +1,7 @@
require "rubygems"
require "benchmark"
require "yajl"
-require "ffi_yajl"
+require_relative "../../ffi_yajl"
if !defined?(RUBY_ENGINE) || RUBY_ENGINE !~ /jruby/
begin
require "yajl"
diff --git a/lib/ffi_yajl/benchmark/parse_profile.rb b/lib/ffi_yajl/benchmark/parse_profile.rb
index 4b396b4..cccb6db 100644
--- a/lib/ffi_yajl/benchmark/parse_profile.rb
+++ b/lib/ffi_yajl/benchmark/parse_profile.rb
@@ -2,7 +2,7 @@
# See MIT-LICENSE
require "rubygems"
-require "ffi_yajl"
+require_relative "../../ffi_yajl"
begin
require "perftools"
rescue LoadError
diff --git a/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb b/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb
index 2c4021a..bdfee7c 100644
--- a/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb
+++ b/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb
@@ -2,7 +2,7 @@
# See MIT-LICENSE
require "rubygems"
-require "ffi_yajl"
+require_relative "../../ffi_yajl"
module FFI_Yajl
class Benchmark