[前][次][番号順一覧][スレッド一覧]

ruby-changes:29410

From: ko1 <ko1@a...>
Date: Thu, 20 Jun 2013 08:16:09 +0900 (JST)
Subject: [ruby-changes:29410] ko1:r41462 (trunk): * tool/gcbench.rb: Summary in one line.

ko1	2013-06-20 08:15:56 +0900 (Thu, 20 Jun 2013)

  New Revision: 41462

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41462

  Log:
    * tool/gcbench.rb: Summary in one line.
    * common.mk: separete gcbench-hash to gcbench-hash1 and gcbench-hash2.

  Modified files:
    trunk/ChangeLog
    trunk/common.mk
    trunk/tool/gcbench.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41461)
+++ ChangeLog	(revision 41462)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jun 20 08:09:29 2013  Koichi Sasada  <ko1@a...>
+
+	* 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@f...>
 
 	* bignum.c (BIGSIZE): New macro.
Index: common.mk
===================================================================
--- common.mk	(revision 41461)
+++ common.mk	(revision 41462)
@@ -430,14 +430,16 @@ gcbench-rdoc: PHONY ruby https://github.com/ruby/ruby/blob/trunk/common.mk#L430
 	@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)"
 
-HASHBENCH_TYPE=1
-gcbench-hash: PHONY ruby
+gcbench-hash1: PHONY ruby
 	@echo "Benchmark with hashbench1 (many temporal objects / obj count intensive)"
 	$(Q) $(XRUBY) "$(srcdir)/tool/gcbench.rb" "$(srcdir)/tool/hashbench1.rb"
-	@echo
+
+gcbench-hash2: PHONY ruby
 	@echo "Benchmark with hashbench2 (increasing hash size / malloc intensive)"
 	$(Q) $(XRUBY) "$(srcdir)/tool/gcbench.rb" "$(srcdir)/tool/hashbench2.rb"
 
+gcbench-hash: PHONY gcbench-hash1 gcbench-hash2
+
 nodoc: PHONY
 
 what-where-doc: no-install-doc
Index: tool/gcbench.rb
===================================================================
--- tool/gcbench.rb	(revision 41461)
+++ tool/gcbench.rb	(revision 41462)
@@ -18,7 +18,5 @@ puts Benchmark::CAPTION https://github.com/ruby/ruby/blob/trunk/tool/gcbench.rb#L18
 puts tms
 puts "GC total time (sec): #{gc_time}"
 puts
-puts "Summary (ruby): #{RUBY_DESCRIPTION} (#{script})"
-puts "Summary (real): #{tms.real} sec"
-puts "Summary (gctm): #{gc_time} sec"
-puts "Summary (gc#) : #{GC.count}"
+puts "Summary #{RUBY_DESCRIPTION}\t#{tms.real}\t#{gc_time}\t#{GC.count}"
+puts "         (real time in sec, GC time in sec, GC count)"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]