diff options
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" ``` |