diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-09 16:31:35 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-09 16:31:35 +0000 |
commit | 7bed459a262eb004141142518d8fca3934e82094 (patch) | |
tree | 7dab64b92670cfb1cafbf49aad6d791b4ce02897 /benchmark/README.md | |
parent | 0b519e110fc3011db64230ab871c7ea1ace9de19 (diff) |
benchmark/driver.rb: fully obsolete this
in favor of just using benchmark_driver.gem.
common.mk: The new `make benchmark` covers the both usages for old `make
benchmark` and old `make benchmark-each`. So `make benchmark-each` is
dropped now.
benchmark/README.md: Explain its details
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/README.md')
-rw-r--r-- | benchmark/README.md | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/benchmark/README.md b/benchmark/README.md index 1b0b373f7a..a5ebaf21df 100644 --- a/benchmark/README.md +++ b/benchmark/README.md @@ -31,19 +31,16 @@ make benchmark # Or compare with specific ruby binary make benchmark COMPARE_RUBY="/path/to/ruby --jit" -# You can specify any option via $OPTS -make benchmark OPTS="--help" -``` +# Run vm1 benchmarks +make benchmark ITEM=vm1 -## make benchmark-each +# Run some limited benchmarks in ITEM-matched files +make benchmark ITEM=vm1 OPTS=--filter=block -`make benchmark-each` is similar to `make benchmark`, but it allows to execute -some specific benchmarks. +# You can specify the benchmark by an exact filename instead of using +# the default argument: ARGS=$(srcdir)/benchmark/*$(ITEM)*.yml +make benchmark ARGS=../benchmark/erb_render.yml -```bash -# Run vm1 benchmarks -make benchmark-each ITEM=vm1 - -# Match erb but exclude app_erb to run only erb_render -make benchmark-each ITEM=erb OPTS="--exclude=app_erb" +# You can specify any option via $OPTS +make benchmark OPTS="--help" ``` |