44件ヒット
[1-44件を表示]
(0.017秒)
検索結果
先頭4件
-
GC
:: Profiler . report(out = $ stdout) -> nil (18113.0) -
GC::Profiler.result の結果を 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... -
rdoc (42.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...arset charset
生成する HTML の charset を指定します。
可能であれば --encoding を使用してください。
: --coverage-report level, --dcov level
ドキュメントが記述されていない要素に関するレポートを出力します。0 以
下を指定した......の引数に関するレポー
トを出力します。level を省略した場合は 0 を指定したと見なされます。
: --no-coverage-report, --no-dcov
ドキュメントが記述されていない要素に関するレポートを出力しません。
: --debug
実行時に内部......the name of one or more output files. If multiple
files are present, the first is used as the index.
<tt>--quiet:</tt>:: do not output the names, sizes, byte counts,
index areas, or bit ratios of units as
they are processed.
====[a:headline] 見... -
ruby 1
. 8 . 4 feature (24.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...48$d\n") # -e:1:in `printf': invalid index - -2147483648$ (ArgumentError)
printf("%2147483649$d\n") # -e:1:in `printf': invalid index - -2147483647$ (ArgumentError)
printf("%4294967296$d\n") # -e:1:in `printf': invalid index - 0$ (ArgumentError)
# overflow......ed Oct 19 08:28:32 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
#
# * file.c (rb_file_join): elements may contain null pointer strings.
# report and fixed by Lloyd Zusman (hippoman): [ruby-core:06326]
NULLポインタを持つStringを渡すとFile.joinがSEGVすることがあっ... -
GC
:: Profiler . result -> String (12.0) -
GC のプロファイル情報をフォーマットし、文字列として返します。
...生した場合の実行例です。
$ ruby -e "GC::Profiler.enable; a = Array.new(100000){ 'aa' }; puts GC::Profiler.result"
GC 5 invokes.
Index Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC Time(ms)
1 0.012......Time
Ruby が起動してから GC が起動するまでに経過した時間
: Use Size
ヒープ内での使用サイズ
: Total Size
ヒープ全体のサイズ
: Total Object
ヒープ内に存在するオブジェクトの個数
: GC Time
GC の処理時間
@see GC::Profiler.report...