aboutsummaryrefslogtreecommitdiffstats
path: root/lib/benchmark.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-18 23:19:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-18 23:19:47 +0000
commit92f0be2037b5f51861e8b7fdf763a343bb564c10 (patch)
treed02d61890bba782751e4852a56fc43577201742d /lib/benchmark.rb
parente5eb4590894ced3bb4c676538e1b52af9c0daf11 (diff)
downloadruby-92f0be2037b5f51861e8b7fdf763a343bb564c10.tar.gz
* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb, lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb, lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb, lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb, lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb, lib/rinda/tuplespace.rb, lib/shell/command-processor.rb, lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb, lib/test/unit/testsuite.rb: typo fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/benchmark.rb')
-rw-r--r--lib/benchmark.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/benchmark.rb b/lib/benchmark.rb
index 577b03de00..36e593518f 100644
--- a/lib/benchmark.rb
+++ b/lib/benchmark.rb
@@ -211,7 +211,7 @@ module Benchmark
# Sometimes benchmark results are skewed because code executed
# earlier encounters different garbage collection overheads than
# that run later. #bmbm attempts to minimize this effect by running
- # the tests twice, the first time as a rehersal in order to get the
+ # the tests twice, the first time as a rehearsal in order to get the
# runtime environment stable, the second time for
# real. <tt>GC.start</tt> is executed before the start of each of
# the real timings; the cost of this is not included in the
@@ -414,9 +414,9 @@ module Benchmark
attr_reader :label
#
- # Returns a initialized Tms object which has
+ # Returns an initialized Tms object which has
# _u_ as the user CPU time, _s_ as the system CPU time,
- # _cu_ as the childrens' user CPU time, _cs_ as the childrens'
+ # _cu_ as the children's user CPU time, _cs_ as the children's
# system CPU time, _real_ as the elapsed real time and _l_
# as the label.
#
@@ -482,8 +482,8 @@ module Benchmark
#
# <tt>%u</tt>:: Replaced by the user CPU time, as reported by Tms#utime.
# <tt>%y</tt>:: Replaced by the system CPU time, as reported by #stime (Mnemonic: y of "s*y*stem")
- # <tt>%U</tt>:: Replaced by the childrens' user CPU time, as reported by Tms#cutime
- # <tt>%Y</tt>:: Replaced by the childrens' system CPU time, as reported by Tms#cstime
+ # <tt>%U</tt>:: Replaced by the children's user CPU time, as reported by Tms#cutime
+ # <tt>%Y</tt>:: Replaced by the children's system CPU time, as reported by Tms#cstime
# <tt>%t</tt>:: Replaced by the total CPU time, as reported by Tms#total
# <tt>%r</tt>:: Replaced by the elapsed real time, as reported by Tms#real
# <tt>%n</tt>:: Replaced by the label string, as reported by Tms#label (Mnemonic: n of "*n*ame")
@@ -512,8 +512,8 @@ module Benchmark
#
# Returns a new 6-element array, consisting of the
- # label, user CPU time, system CPU time, childrens'
- # user CPU time, childrens' system CPU time and elapsed
+ # label, user CPU time, system CPU time, children's
+ # user CPU time, children's system CPU time and elapsed
# real time.
#
def to_a