summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-20 06:18:09 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-20 06:18:09 +0000
commit99b10ff471c50358ed0f6864f4cf87857c51a91d (patch)
treee8c951ec1afa18da031e3b140db30823163a61cb /common.mk
parentab7e4592106e0796d5b243c0d0c8629a47351e05 (diff)
* benchmark/gc: create a directory to store GC related benchmark.
* benchmark/gc/gcbench.rb: moved from tool/gcbench.rb. * benchmark/gc/hash(1|2).rb: ditto. * benchmark/gc/rdoc.rb: ditto. * benchmark/gc/null.rb: added. * common.mk: fix rule. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk16
1 files changed, 5 insertions, 11 deletions
diff --git a/common.mk b/common.mk
index 83e6ce7599..88043575d0 100644
--- a/common.mk
+++ b/common.mk
@@ -426,19 +426,13 @@ rdoc-coverage: PHONY main
RDOCBENCHOUT=/tmp/rdocbench
-gcbench-rdoc: PHONY
- @echo Benchmark with Generating RDoc documentation
- $(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)"
-
-gcbench-hash1: PHONY
- @echo "Benchmark with hashbench1 (many temporal objects / obj count intensive)"
- $(Q) $(XRUBY) "$(srcdir)/tool/gcbench.rb" "$(srcdir)/tool/hashbench1.rb"
+GCBENCH_ITEM=null
-gcbench-hash2: PHONY
- @echo "Benchmark with hashbench2 (increasing hash size / malloc intensive)"
- $(Q) $(XRUBY) "$(srcdir)/tool/gcbench.rb" "$(srcdir)/tool/hashbench2.rb"
+gcbench: PHONY
+ $(Q) $(XRUBY) "$(srcdir)/benchmark/gc/gcbench.rb" $(GCBENCH_ITEM)
-gcbench-hash: PHONY gcbench-hash1 gcbench-hash2
+gcbench-rdoc: PHONY
+ $(Q) $(XRUBY) "$(srcdir)/benchmark/gc/gcbench.rb" rdoc
nodoc: PHONY