るりまサーチ (Ruby 2.1.0)

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

別のキーワード

  1. profile profiler__
  2. profile profile_proc
  3. profiler profile_proc
  4. profiler__ profile_proc
  5. profile stop_profile

ライブラリ

モジュール

キーワード

検索結果

Profiler__ (132151.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 ...

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

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

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

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

Profiler__.#start_profile -> object (90304.0)

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

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

Profiler__.#stop_profile -> nil (90304.0)

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

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

Profiler__::PROFILE_PROC -> Proc (90304.0)

内部で使用します。

内部で使用します。

絞り込み条件を変える