Skip to content

Commit

Permalink
Defaulted benchmark output to markdown with comarison
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jun 8, 2020
1 parent 11a6c40 commit d0b2332
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion common.mk
Expand Up @@ -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 =
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion defs/gmake.mk
Expand Up @@ -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))
Expand Down

0 comments on commit d0b2332

Please sign in to comment.