タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

ioと4に関するauthorNariのブックマーク (1)

  • ハタさんのブログ : io で GC を見る

    io の Collector を使って、GCの動きを少し見てみる via - Io の make test(libs/iovm/tests/run.io) コードとしては、こんな感じのを使うらしい。 writeln("mpa \t as \t mb \t time \t mbt \t gc") lastTimeUsed := 0.0 list(1.01, 1.05, 1.1, 1.2, 1.5, 1.7, 2, 4) foreach(as, list(0.01, 0.1, 1, 2, 4, 16) foreach(mpa, Collector setMarksPerAlloc(mpa) Collector setAllocatedStep(as) time := Date clone cpuSecondsToRun(test) mb := (Collector maxAllocatedB

    authorNari
    authorNari 2008/07/15
    プロファイル
  • 1