381件ヒット
[1-100件を表示]
(0.108秒)
種類
- インスタンスメソッド (196)
- モジュール関数 (77)
- 特異メソッド (71)
- 文書 (26)
- ライブラリ (11)
ライブラリ
- ビルトイン (68)
- benchmark (99)
- fileutils (44)
-
minitest
/ unit (1) -
rubygems
/ user _ interaction (110)
クラス
-
Benchmark
:: Job (22) -
Benchmark
:: Report (44) -
Gem
:: StreamUI (11) -
Gem
:: StreamUI :: SilentProgressReporter (33) -
Gem
:: StreamUI :: SimpleProgressReporter (33) -
Gem
:: StreamUI :: VerboseProgressReporter (33) -
MiniTest
:: Unit (1) -
RDoc
:: Options (22) - Thread (24)
モジュール
- Benchmark (33)
- FileUtils (44)
-
GC
:: Profiler (44)
キーワード
-
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) - benchmark (11)
- bm (11)
- bmbm (11)
- cd (22)
- chdir (22)
- clear (11)
- count (33)
-
coverage
_ report (11) -
coverage
_ report= (11) - done (33)
- item (22)
- list (11)
- new (11)
-
progress
_ reporter (11) -
raw
_ data (11) - rdoc (11)
-
report
_ on _ exception (16) -
report
_ on _ exception= (8) - result (11)
-
ruby 1
. 8 . 4 feature (11) - updated (33)
検索結果
先頭5件
- GC
:: Profiler . report(out = $ stdout) -> nil - Benchmark
:: Report # report(label = "" , *fmt) { . . . } -> Benchmark :: Tms - MiniTest
:: Unit # report -> Array - Benchmark
:: Job # report(label = "") { . . . } -> self - Gem
:: StreamUI # progress _ reporter(*args) -> SilentProgressReporter | SimpleProgressReporter | VerboseProgressReporter
-
GC
:: Profiler . report(out = $ stdout) -> nil (24307.0) -
GC::Profiler.result の結果を out に出力します。
...GC::Profiler.result の結果を out に出力します。
@param out 結果の出力先を指定します。デフォルトは $stdout です。
//emlist[例][ruby]{
GC::Profiler.enable
GC.start
GC::Profiler.report
# => GC 4 invokes.
# Index Invoke Time(sec) Use Size(byte) Total Si......ze(byte) Total Object GC Time(ms)
# 1 0.019 303720 1269840 31746 1.25899999999999967493
//}
@see GC::Profiler.result... -
Benchmark
:: Report # report(label = "" , *fmt) { . . . } -> Benchmark :: Tms (24301.0) -
ラベルと与えられたブロックの実行時間を標準出力に出力します。
...ラベルと与えられたブロックの実行時間を標準出力に出力します。
出力のフォーマットは Benchmark::Tms#format が行います。
@param label ラベル
@param fmt 結果に出力したいオブジェクト
@see Benchmark::Tms#format... -
MiniTest
:: Unit # report -> Array (24301.0) -
テストメソッドの実行結果のリストを返します。
テストメソッドの実行結果のリストを返します。 -
Benchmark
:: Job # report(label = "") { . . . } -> self (21301.0) -
与えられたラベルとブロックをジョブリストに登録します。
...与えられたラベルとブロックをジョブリストに登録します。
@param label ラベル... -
Gem
:: StreamUI # progress _ reporter(*args) -> SilentProgressReporter | SimpleProgressReporter | VerboseProgressReporter (18900.0) -
処理の進捗を報告するためのオブジェクトを返します。
...ます。
返されるオブジェクトの種類は現在の設定によります。
@param args 返値となるオブジェクトを初期化するための引数です。
@see Gem::StreamUI::SilentProgressReporter, Gem::StreamUI::SimpleProgressReporter, Gem::StreamUI::VerboseProgressReporter... -
Thread
# report _ on _ exception -> bool (15338.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...tderr に報告します。
デフォルトはスレッド作成時の Thread.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Threa......stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Thread:0x00007fc3f48c7908@(irb):1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Thread:......0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = false
b.run # => #<Thread:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
Thread
. report _ on _ exception -> bool (15332.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...を $stderr に報告します。
デフォルトは false です。
Thread.new { 1.times { raise } }
は $stderr に以下のように出力します:
#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `block......in <main>'
1: from -e:1:in `times'
これによってスレッドのエラーを早期に捕捉できるようになります。
いくつかのケースでは、この出力を望まないかもしれません。
出力を抑制するには複数の方法があります:
* 例外が......近い場所で rescue して、
その例外でスレッドが終了しないようにするのがより良い方法です。
* Thread#join や Thread#value でそのスレッドの終了を待つことが保証できるなら、
スレッド開始時に Thread.current.report_on_exception =......容を $stderr に報告します。
デフォルトは true です。
Thread.new { 1.times { raise } }
は $stderr に以下のように出力します:
#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `blo......ck in <main>'
1: from -e:1:in `times'
これによってスレッドのエラーを早期に捕捉できるようになります。
いくつかのケースでは、この出力を望まないかもしれません。
出力を抑制するには複数の方法があります:
* 例外が... -
Thread
. report _ on _ exception=(newstate) (15232.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...を $stderr に報告します。
デフォルトは false です。
Thread.new { 1.times { raise } }
は $stderr に以下のように出力します:
#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `block......in <main>'
1: from -e:1:in `times'
これによってスレッドのエラーを早期に捕捉できるようになります。
いくつかのケースでは、この出力を望まないかもしれません。
出力を抑制するには複数の方法があります:
* 例外が......近い場所で rescue して、
その例外でスレッドが終了しないようにするのがより良い方法です。
* Thread#join や Thread#value でそのスレッドの終了を待つことが保証できるなら、
スレッド開始時に Thread.current.report_on_exception =......容を $stderr に報告します。
デフォルトは true です。
Thread.new { 1.times { raise } }
は $stderr に以下のように出力します:
#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `blo......ck in <main>'
1: from -e:1:in `times'
これによってスレッドのエラーを早期に捕捉できるようになります。
いくつかのケースでは、この出力を望まないかもしれません。
出力を抑制するには複数の方法があります:
* 例外が... -
RDoc
:: Options # coverage _ report -> Integer | false (12333.0) -
コマンドライン引数の --coverage-report オプションを指定していた場合、指 定した数値を返します。
...コマンドライン引数の --coverage-report オプションを指定していた場合、指
定した数値を返します。
指定しなかった場合は false を返します。... -
RDoc
:: Options # coverage _ report=(val) (12233.0) -
コマンドライン引数の --coverage-report オプションと同様の指定を行います。
...コマンドライン引数の --coverage-report オプションと同様の指定を行います。
@param val 数値オブジェクトか false を指定します。... -
Gem
:: StreamUI :: SimpleProgressReporter # count -> Integer (12200.0) -
Gem::StreamUI::SimpleProgressReporter#updated が呼び出された回数を返します。
...Gem::StreamUI::SimpleProgressReporter#updated が呼び出された回数を返します。...