diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-21 07:36:34 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-21 07:36:34 +0000 |
commit | 6f7c9e2ecb20d138565f17286620fc656dd5ffbd (patch) | |
tree | 2cb8c56f9e37e96101ff15e66e5f8a936a26a8cb /common.mk | |
parent | f3cdb9f3fbd9ae6965b921314b5becedb6517994 (diff) | |
download | ruby-6f7c9e2ecb20d138565f17286620fc656dd5ffbd.tar.gz |
* common.mk (rdoc-bench): add a benchmark rule
using RDoc. Generate all rdoc related files
(same as `make rdoc') in temporary directory
and remove them. Excecution time, GC::Profiler
and results of GC.stat are printed.
* tool/rdocbench.rb: added for `rdoc-bench'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -424,6 +424,12 @@ rdoc-coverage: PHONY main @echo Generating RDoc coverage report $(Q) $(XRUBY) "$(srcdir)/bin/rdoc" --root "$(srcdir)" --encoding=UTF-8 --all --quiet -C $(RDOCFLAGS) "$(srcdir)" +RDOCBENCHOUT=/tmp/rdocbench + +rdoc-bench: 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)" + nodoc: PHONY what-where-doc: no-install-doc |