* tool/gcbench.rb: Summary in one line.
* common.mk: separete gcbench-hash to gcbench-hash1 and gcbench-hash2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e98b7c6c52
commit
fcd5d8fd33
@ -1,3 +1,9 @@
|
|||||||
|
Thu Jun 20 08:09:29 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* tool/gcbench.rb: Summary in one line.
|
||||||
|
|
||||||
|
* common.mk: separete gcbench-hash to gcbench-hash1 and gcbench-hash2.
|
||||||
|
|
||||||
Thu Jun 20 08:07:23 2013 Tanaka Akira <akr@fsij.org>
|
Thu Jun 20 08:07:23 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* bignum.c (BIGSIZE): New macro.
|
* bignum.c (BIGSIZE): New macro.
|
||||||
|
@ -430,14 +430,16 @@ gcbench-rdoc: PHONY ruby
|
|||||||
@echo Benchmark with Generating RDoc documentation
|
@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)"
|
$(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-hash1: PHONY ruby
|
||||||
gcbench-hash: PHONY ruby
|
|
||||||
@echo "Benchmark with hashbench1 (many temporal objects / obj count intensive)"
|
@echo "Benchmark with hashbench1 (many temporal objects / obj count intensive)"
|
||||||
$(Q) $(XRUBY) "$(srcdir)/tool/gcbench.rb" "$(srcdir)/tool/hashbench1.rb"
|
$(Q) $(XRUBY) "$(srcdir)/tool/gcbench.rb" "$(srcdir)/tool/hashbench1.rb"
|
||||||
@echo
|
|
||||||
|
gcbench-hash2: PHONY ruby
|
||||||
@echo "Benchmark with hashbench2 (increasing hash size / malloc intensive)"
|
@echo "Benchmark with hashbench2 (increasing hash size / malloc intensive)"
|
||||||
$(Q) $(XRUBY) "$(srcdir)/tool/gcbench.rb" "$(srcdir)/tool/hashbench2.rb"
|
$(Q) $(XRUBY) "$(srcdir)/tool/gcbench.rb" "$(srcdir)/tool/hashbench2.rb"
|
||||||
|
|
||||||
|
gcbench-hash: PHONY gcbench-hash1 gcbench-hash2
|
||||||
|
|
||||||
nodoc: PHONY
|
nodoc: PHONY
|
||||||
|
|
||||||
what-where-doc: no-install-doc
|
what-where-doc: no-install-doc
|
||||||
|
@ -18,7 +18,5 @@ puts Benchmark::CAPTION
|
|||||||
puts tms
|
puts tms
|
||||||
puts "GC total time (sec): #{gc_time}"
|
puts "GC total time (sec): #{gc_time}"
|
||||||
puts
|
puts
|
||||||
puts "Summary (ruby): #{RUBY_DESCRIPTION} (#{script})"
|
puts "Summary #{RUBY_DESCRIPTION}\t#{tms.real}\t#{gc_time}\t#{GC.count}"
|
||||||
puts "Summary (real): #{tms.real} sec"
|
puts " (real time in sec, GC time in sec, GC count)"
|
||||||
puts "Summary (gctm): #{gc_time} sec"
|
|
||||||
puts "Summary (gc#) : #{GC.count}"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user