From d0b2332e938e06b6f5b4baf07db4a65543d2a204 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 8 Jun 2020 09:25:22 +0900 Subject: [PATCH] Defaulted benchmark output to markdown with comarison --- common.mk | 3 ++- defs/gmake.mk | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common.mk b/common.mk index 2449efee38..b897d5b5e6 100644 --- a/common.mk +++ b/common.mk @@ -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 diff --git a/defs/gmake.mk b/defs/gmake.mk index 7de43ced1c..676e536584 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -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))