path: root/benchmark
diff options
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-10 23:56:57 (GMT)
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-10 23:56:57 (GMT)
commit1053c3d4bf2ccb150ec5a2295c50ce0271e1dece (patch)
treef3f49c162522341f884283373d3f0115debc69e1 /benchmark
parent4b2f2225e4a94cd2eeb8f9c8f867192f50dd6b32 (diff)
benchmark/ some are defined with YAML [ci skip]
git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark')
1 files changed, 7 insertions, 4 deletions
diff --git a/benchmark/ b/benchmark/
index 6994ded..538cf50 100644
--- a/benchmark/
+++ b/benchmark/
@@ -11,14 +11,17 @@ Execute `gem install benchmark_driver` and run a command like:
# Run a benchmark script with the ruby in the $PATH
benchmark-driver benchmark/app_fib.rb
-# Run all benchmark scripts with multiple Ruby executables or options
-benchmark-driver benchmark/*.yml -e /path/to/ruby -e '/path/to/ruby --jit'
+# Run benchmark scripts with multiple Ruby executables or options
+benchmark-driver benchmark/*.rb -e /path/to/ruby -e '/path/to/ruby --jit'
# Or compare Ruby versions managed by rbenv
-benchmark-driver benchmark/*.yml --rbenv '2.5.1;2.6.0-preview2 --jit'
+benchmark-driver benchmark/*.rb --rbenv '2.5.1;2.6.0-preview2 --jit'
# You can collect many metrics in many ways
-benchmark-driver benchmark/*.yml --runner memory --output markdown
+benchmark-driver benchmark/*.rb --runner memory --output markdown
+# Some are defined with YAML for complex setup or accurate measurement
+benchmark-driver benchmark/*.yml
See also: