るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.021秒)
トップページ > バージョン:2.2.0[x] > クエリ:Object[x] > ライブラリ:profiler[x]

別のキーワード

  1. _builtin each_object
  2. objectspace each_object
  3. json object
  4. object send
  5. object to_enum

モジュール

キーワード

検索結果

Profiler__.#start_profile -> object (310.0)

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

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

Profiler__ (25.0)

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

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

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

require 'profiler'

Profiler
__.start_profile
r
equire '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...
...p#initialize
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...