るりまサーチ

最速Rubyリファレンスマニュアル検索!
30件ヒット [1-30件を表示] (0.100秒)
トップページ > クエリ:l[x] > クエリ:>[x] > クエリ:Profiler__[x]

別のキーワード

  1. _builtin >
  2. bigdecimal >
  3. comparable >
  4. complex >
  5. module >

ライブラリ

モジュール

キーワード

検索結果

Profiler__ (44006.0)

プロファイラの実装です。 Profiler__.start_profile 実行から、Profiler__.stop_profile までの 区間の実行コードのプロファイルを取得します。

...ァイラの実装です。
Profiler__
.start_profile 実行から、Profiler__.stop_profile までの
区間の実行コードのプロファイルを取得します。

以下の使用例を参照してください。

require 'profiler'

Profiler__
.start_profile
require 'tk' # こ...
...
Profiler__
.print_profile(STDOUT)

# =>
% cumulative self self total
time seconds seconds calls ms/call ms/call name
51.64 1.10 1.10 3 366.67 776.67 Kernel.require
17.37 1.47 0.37 1 370.00 370.00 TclTkI...
...ialize
8.92 1.66 0.19 514 0.37 0.37 Module#method_added
6.57 1.80 0.14 1 140.00 140.00 Profiler__.start_profile
4.23 1.89 0.09 15 6.00 10.67 Kernel.extend
3.29 1.96 0.07 15 4.67 4.67 Module...

Profiler__.#print_profile(file) -> () (30300.0)

stop_profile を実行し、プロファイルの結果を file に出力します。 file には printf メソッドが定義されていなければいけません。

...stop_profile を実行し、プロファイルの結果を file に出力します。
file には printf メソッドが定義されていなければいけません。

@param file File のインスタンスを指定します。...

Profiler__.#start_profile -> object (30200.0)

プロファイルの取得を開始します。

プロファイルの取得を開始します。

Profiler__.#stop_profile -> nil (30200.0)

プロファイルの取得を停止します。

プロファイルの取得を停止します。

Profiler__::PROFILE_PROC -> Proc (30200.0)

内部で使用します。

内部で使用します。

絞り込み条件を変える