mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/benchmark.rb: Remove nodoc from Benchmark::Job and
Benchmark::Report. Patch by Sandor Szücs. [Ruby 1.9 - Bug #4726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1ebfbd7c63
commit
0d014df637
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Wed May 18 05:40:31 2011 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
|
* lib/benchmark.rb: Remove nodoc from Benchmark::Job and
|
||||||
|
Benchmark::Report. Patch by Sandor Szücs. [Ruby 1.9 - Bug #4726]
|
||||||
|
|
||||||
Wed May 18 05:29:26 2011 Eric Hodel <drbrain@segment7.net>
|
Wed May 18 05:29:26 2011 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
* lib/webrick/compat.rb: Improve documentation. Patch by Sandor
|
* lib/webrick/compat.rb: Improve documentation. Patch by Sandor
|
||||||
|
|
|
@ -302,7 +302,7 @@ module Benchmark
|
||||||
# A Job is a sequence of labelled blocks to be processed by the
|
# A Job is a sequence of labelled blocks to be processed by the
|
||||||
# Benchmark.bmbm method. It is of little direct interest to the user.
|
# Benchmark.bmbm method. It is of little direct interest to the user.
|
||||||
#
|
#
|
||||||
class Job # :nodoc:
|
class Job
|
||||||
#
|
#
|
||||||
# Returns an initialized Job instance.
|
# Returns an initialized Job instance.
|
||||||
# Usually, one doesn't call this method directly, as new
|
# Usually, one doesn't call this method directly, as new
|
||||||
|
@ -340,7 +340,7 @@ module Benchmark
|
||||||
# This class is used by the Benchmark.benchmark and Benchmark.bm methods.
|
# This class is used by the Benchmark.benchmark and Benchmark.bm methods.
|
||||||
# It is of little direct interest to the user.
|
# It is of little direct interest to the user.
|
||||||
#
|
#
|
||||||
class Report # :nodoc:
|
class Report
|
||||||
#
|
#
|
||||||
# Returns an initialized Report instance.
|
# Returns an initialized Report instance.
|
||||||
# Usually, one doesn't call this method directly, as new
|
# Usually, one doesn't call this method directly, as new
|
||||||
|
@ -377,7 +377,11 @@ module Benchmark
|
||||||
# measurement.
|
# measurement.
|
||||||
#
|
#
|
||||||
class Tms
|
class Tms
|
||||||
|
|
||||||
|
# Default caption, see also Benchmark::CAPTION
|
||||||
CAPTION = " user system total real\n"
|
CAPTION = " user system total real\n"
|
||||||
|
|
||||||
|
# Default format string, see also Benchmark::FORMAT
|
||||||
FORMAT = "%10.6u %10.6y %10.6t %10.6r\n"
|
FORMAT = "%10.6u %10.6y %10.6t %10.6r\n"
|
||||||
|
|
||||||
# User CPU time
|
# User CPU time
|
||||||
|
|
Loading…
Reference in a new issue