summaryrefslogtreecommitdiff
path: root/benchmark/lib
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-28 03:32:49 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-28 03:32:49 +0000
commitcebd2c4aba1c68939de6e2c6aaedcaccf7860873 (patch)
tree28b188d4077071503db4545f84061c79f4737b93 /benchmark/lib
parent85f192b075943b974ce87fcc63d612c0bd9bb337 (diff)
add small utility for benchmarking.
* benchmark/lib/load.rb: add small utility which requires benchmark-driver.rb. You can load this file and can use benchmark-driver. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/lib')
-rwxr-xr-xbenchmark/lib/load.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmark/lib/load.rb b/benchmark/lib/load.rb
new file mode 100755
index 0000000000..4d73a63323
--- /dev/null
+++ b/benchmark/lib/load.rb
@@ -0,0 +1,2 @@
+$:.unshift(File.join(__dir__, '../benchmark-driver/lib'))
+require 'benchmark_driver'