mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Defaulted benchmark output to markdown with comarison
This commit is contained in:
parent
11a6c405bc
commit
d0b2332e93
2 changed files with 3 additions and 2 deletions
|
@ -1204,6 +1204,7 @@ bisect-ruby: PHONY
|
|||
|
||||
COMPARE_RUBY = $(BASERUBY)
|
||||
BENCH_RUBY = $(RUNRUBY)
|
||||
BENCH_OPTS = --output=markdown --output-compare
|
||||
ITEM =
|
||||
ARGS = $$(find $(srcdir)/benchmark -maxdepth 1 -name '$(ITEM)' -o -name '*$(ITEM)*.yml' -o -name '*$(ITEM)*.rb' | sort)
|
||||
OPTS =
|
||||
|
@ -1213,7 +1214,7 @@ benchmark: miniruby$(EXEEXT) update-benchmark-driver PHONY
|
|||
$(BASERUBY) -rrubygems -I$(srcdir)/benchmark/lib $(srcdir)/benchmark/benchmark-driver/exe/benchmark-driver \
|
||||
--executables="compare-ruby::$(COMPARE_RUBY) -I$(EXTOUT)/common --disable-gem" \
|
||||
--executables="built-ruby::$(BENCH_RUBY) --disable-gem" \
|
||||
$(ARGS) $(OPTS)
|
||||
$(BENCH_OPTS) $(ARGS) $(OPTS)
|
||||
|
||||
run.gdb:
|
||||
echo set breakpoint pending on > run.gdb
|
||||
|
|
|
@ -350,7 +350,7 @@ benchmark/%: miniruby$(EXEEXT) update-benchmark-driver PHONY
|
|||
$(Q)$(BASERUBY) -rrubygems -I$(srcdir)/benchmark/lib $(srcdir)/benchmark/benchmark-driver/exe/benchmark-driver \
|
||||
--executables="compare-ruby::$(COMPARE_RUBY) -I$(EXTOUT)/common --disable-gem" \
|
||||
--executables="built-ruby::$(BENCH_RUBY) --disable-gem" \
|
||||
$(srcdir)/$@ $(OPTS)
|
||||
$(srcdir)/$@ $(BENCH_OPTS) $(OPTS)
|
||||
|
||||
clean-srcs-ext::
|
||||
$(Q)$(RM) $(patsubst $(srcdir)/%,%,$(EXT_SRCS))
|
||||
|
|
Loading…
Reference in a new issue