summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index d89f82d45b..2a9f1a4c0c 100644
--- a/common.mk
+++ b/common.mk
@@ -426,9 +426,17 @@ rdoc-coverage: PHONY main
RDOCBENCHOUT=/tmp/rdocbench
-rdoc-bench: PHONY ruby
+gcbench-rdoc: PHONY ruby
@echo Benchmark with Generating RDoc documentation
- $(Q) $(XRUBY) "$(srcdir)/tool/rdocbench.rb" --root "$(srcdir)" --page-dir "$(srcdir)/doc" --encoding=UTF-8 --no-force-update --all --ri --debug $(RDOCFLAGS) --quiet "$(srcdir)"
+ $(Q) $(XRUBY) "$(srcdir)/tool/gcbench.rb" "$(srcdir)/tool/rdocbench.rb" --root "$(srcdir)" --page-dir "$(srcdir)/doc" --encoding=UTF-8 --no-force-update --all --ri --debug $(RDOCFLAGS) --quiet "$(srcdir)"
+
+HASHBENCH_TYPE=1
+gcbench-hash: PHONY ruby
+ @echo "Benchmark with hashbench1 (many temporal objects / obj count intensive)"
+ $(Q) $(XRUBY) "$(srcdir)/tool/gcbench.rb" "$(srcdir)/tool/hashbench1.rb"
+ @echo
+ @echo "Benchmark with hashbench2 (increasing hash size / malloc intensive)"
+ $(Q) $(XRUBY) "$(srcdir)/tool/gcbench.rb" "$(srcdir)/tool/hashbench2.rb"
nodoc: PHONY