diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-10 15:58:52 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-10 15:58:52 +0000 |
commit | 3efcb74036af32cbcc889d06d8c6c546289e89f4 (patch) | |
tree | 8f8ee7b0bddbac0ed4021d2b1af27c05f57391de /benchmark/README.md | |
parent | 498487ec2a49ca99b663ed2bab794c4eebd1c66c (diff) |
benchmark: revise ERB benchmarks using YAML syntax
to improve the accuracy of measurement by stop using block.
benchmark/app_erb.rb -> benchmark/app_erb.yml: renamed and revised
benchmark/erb_render.rb -> benchmark/erb_render.yml: ditto
benchmark/README.md: follow renames
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/README.md')
-rw-r--r-- | benchmark/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/README.md b/benchmark/README.md index a21cb4d324..4fc5134c0b 100644 --- a/benchmark/README.md +++ b/benchmark/README.md @@ -9,7 +9,7 @@ Execute `gem install benchmark_driver` and run a command like: ```bash # Run a benchmark script with the ruby in the $PATH -benchmark-driver benchmark/erb_render.rb +benchmark-driver benchmark/erb_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' @@ -59,7 +59,7 @@ make benchmark ITEM=vm1 OPTS=--filter=block # You can specify the benchmark by an exact filename instead of using the default argument: # ARGS = $$(find $(srcdir)/benchmark -maxdepth 1 -name '*$(ITEM)*.yml' -o -name '*$(ITEM)*.rb') -make benchmark ARGS=../benchmark/erb_render.rb +make benchmark ARGS=../benchmark/erb_render.yml # You can specify any option via $OPTS make benchmark OPTS="--help" |