405件ヒット
[1-100件を表示]
(0.051秒)
別のキーワード
種類
- インスタンスメソッド (211)
- モジュール関数 (84)
- 特異メソッド (69)
- 文書 (29)
- ライブラリ (12)
ライブラリ
- ビルトイン (75)
- benchmark (108)
- fileutils (48)
-
minitest
/ unit (1) -
rubygems
/ user _ interaction (120)
クラス
-
Benchmark
:: Job (24) -
Benchmark
:: Report (48) -
Gem
:: StreamUI (12) -
Gem
:: StreamUI :: SilentProgressReporter (36) -
Gem
:: StreamUI :: SimpleProgressReporter (36) -
Gem
:: StreamUI :: VerboseProgressReporter (36) -
MiniTest
:: Unit (1) -
RDoc
:: Options (12) - Thread (27)
モジュール
- Benchmark (36)
- FileUtils (48)
-
GC
:: Profiler (48)
キーワード
-
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) - benchmark (12)
- bm (12)
- bmbm (12)
- cd (24)
- chdir (24)
- clear (12)
- count (36)
-
coverage
_ report (12) - done (36)
- item (24)
- list (12)
- new (12)
-
progress
_ reporter (12) -
raw
_ data (12) - rdoc (12)
-
report
_ on _ exception (18) -
report
_ on _ exception= (9) - result (12)
-
ruby 1
. 8 . 4 feature (12) - updated (36)
検索結果
先頭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 (18207.0) -
GC::Profiler.result の結果を out に出力します。
...out 結果の出力先を指定します。デフォルトは $stdout です。
//emlist[例][ruby]{
GC::Profiler.enable
GC.start
GC::Profiler.report
# => GC 4 invokes.
# Index Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC Time(ms)
# 1... -
Benchmark
:: Report # report(label = "" , *fmt) { . . . } -> Benchmark :: Tms (18201.0) -
ラベルと与えられたブロックの実行時間を標準出力に出力します。
ラベルと与えられたブロックの実行時間を標準出力に出力します。
出力のフォーマットは Benchmark::Tms#format が行います。
@param label ラベル
@param fmt 結果に出力したいオブジェクト
@see Benchmark::Tms#format -
MiniTest
:: Unit # report -> Array (18201.0) -
テストメソッドの実行結果のリストを返します。
テストメソッドの実行結果のリストを返します。 -
Benchmark
:: Job # report(label = "") { . . . } -> self (15201.0) -
与えられたラベルとブロックをジョブリストに登録します。
与えられたラベルとブロックをジョブリストに登録します。
@param label ラベル -
Gem
:: StreamUI # progress _ reporter(*args) -> SilentProgressReporter | SimpleProgressReporter | VerboseProgressReporter (6500.0) -
処理の進捗を報告するためのオブジェクトを返します。
...ます。
返されるオブジェクトの種類は現在の設定によります。
@param args 返値となるオブジェクトを初期化するための引数です。
@see Gem::StreamUI::SilentProgressReporter, Gem::StreamUI::SimpleProgressReporter, Gem::StreamUI::VerboseProgressReporter... -
Thread
# report _ on _ exception -> bool (6256.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...ad.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => tr......# => #<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 (6220.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...es { 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'
これによってスレッドのエラー......* Thread#join や Thread#value でそのスレッドの終了を待つことが保証できるなら、
スレッド開始時に Thread.current.report_on_exception = false でレポートを無効化しても
安全です。しかし、この場合、例外をハンドルするのが遅れた......されていて
終了を待つことができなかったりするかもしれません。
スレッドごとに設定する方法は Thread#report_on_exception= を参照してください。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかど... -
RDoc
:: Options # coverage _ report -> Integer | false (6217.0) -
コマンドライン引数の --coverage-report オプションを指定していた場合、指 定した数値を返します。
...コマンドライン引数の --coverage-report オプションを指定していた場合、指
定した数値を返します。
指定しなかった場合は false を返します。... -
Thread
# report _ on _ exception=(newstate) (6156.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...ad.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => tr......# => #<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... -
Benchmark
:: Report . new(width = 0 , fmtstr = nil) -> Benchmark :: Report (3217.0) -
Benchmark::Report のインスタンスを初期化して返します。
...Benchmark::Report のインスタンスを初期化して返します。
通常このメソッドがユーザーによって直接呼び出されることはありません。
@param width ラベルの幅
@param fmtstr フォーマット文字列...