るりまサーチ

最速Rubyリファレンスマニュアル検索!
6件ヒット [1-6件を表示] (0.055秒)
トップページ > クエリ:Kernel.#p[x] > クエリ:$?[x] > クエリ:$PROGRAM_NAME[x] > クエリ:rmdir[x] > クエリ:require[x] > クエリ:cp[x] > 種類:モジュール[x]

別のキーワード

  1. kernel $output_record_separator
  2. kernel $input_record_separator
  3. kernel $loaded_features
  4. kernel $hdrdir
  5. kernel $srcdir

ライブラリ

検索結果

Profiler__ (6019.0)

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

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

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

require
'profiler'

P
rofiler__.start_profile
require
'tk' # このコ...
...ファイルが測定される
P
rofiler__.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 TclTkIp#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.0...