K.Sasada's Home Page

Diary - 2014 September

研究日記

長月

_10(Wed)

メモ。lc_fizzbuzz の結果。

{:count=>0,
 :heap_used=>24,
 :heap_sorted_length=>24,
 :heap_allocatable_pages=>0,
 :heap_live_slot=>7729,
 :heap_free_slot=>2054,
 :heap_final_slots=>0,
 :heap_marked_slots=>0,
 :heap_swept_slots=>0,
 :heap_eden_pages=>24,
 :heap_tomb_pages=>0,
 :total_allocated_objects=>7813,
 :total_freed_objects=>84,
 :malloc_increase=>2390504,
 :malloc_limit=>16777216,
 :minor_gc_count=>0,
 :major_gc_count=>0,
 :remembered_shady_object=>0,
 :remembered_shady_object_limit=>0,
 :old_object=>0,
 :old_object_limit=>0,
 :oldmalloc_increase=>2390952,
 :oldmalloc_limit=>16777216,
 :total_generated_normal_object_count=>5062,
 :total_generated_shady_object_count=>2751,
 :total_shade_operation_count=>0,
 :total_remembered_normal_object_count=>0,
 :total_remembered_shady_object_count=>0,
 :generated_normal_object_count_types=>
  {:T_NONE=>0,
   :T_OBJECT=>7,
   :T_CLASS=>495,
   :T_MODULE=>21,
   :T_FLOAT=>4,
   :T_STRING=>3589,
   :T_REGEXP=>2,
   :T_ARRAY=>630,
   :T_HASH=>10,
   :T_STRUCT=>0,
   :T_BIGNUM=>2,
   :T_FILE=>0,
   :T_DATA=>159,
   :T_MATCH=>0,
   :T_COMPLEX=>1,
   :T_RATIONAL=>0,
   :unknown=>0,
   :T_NIL=>0,
   :T_TRUE=>0,
   :T_FALSE=>0,
   :T_SYMBOL=>0,
   :T_FIXNUM=>0,
   :T_UNDEF=>0,
   :T_NODE=>123,
   :T_ICLASS=>25,
   :T_ZOMBIE=>0},
 :generated_shady_object_count_types=>
  {:T_NONE=>0,
   :T_OBJECT=>0,
   :T_CLASS=>0,
   :T_MODULE=>0,
   :T_FLOAT=>0,
   :T_STRING=>0,
   :T_REGEXP=>0,
   :T_ARRAY=>0,
   :T_HASH=>0,
   :T_STRUCT=>0,
   :T_BIGNUM=>0,
   :T_FILE=>6,
   :T_DATA=>31,
   :T_MATCH=>0,
   :T_COMPLEX=>0,
   :T_RATIONAL=>0,
   :unknown=>0,
   :T_NIL=>0,
   :T_TRUE=>0,
   :T_FALSE=>0,
   :T_SYMBOL=>0,
   :T_FIXNUM=>0,
   :T_UNDEF=>0,
   :T_NODE=>2714,
   :T_ICLASS=>0,
   :T_ZOMBIE=>0},
 :shade_operation_count_types=>
  {:T_NONE=>0,
   :T_OBJECT=>0,
   :T_CLASS=>0,
   :T_MODULE=>0,
   :T_FLOAT=>0,
   :T_STRING=>0,
   :T_REGEXP=>0,
   :T_ARRAY=>0,
   :T_HASH=>0,
   :T_STRUCT=>0,
   :T_BIGNUM=>0,
   :T_FILE=>0,
   :T_DATA=>0,
   :T_MATCH=>0,
   :T_COMPLEX=>0,
   :T_RATIONAL=>0,
   :unknown=>0,
   :T_NIL=>0,
   :T_TRUE=>0,
   :T_FALSE=>0,
   :T_SYMBOL=>0,
   :T_FIXNUM=>0,
   :T_UNDEF=>0,
   :T_NODE=>0,
   :T_ICLASS=>0,
   :T_ZOMBIE=>0},
 :promoted_types=>
  {:T_NONE=>0,
   :T_OBJECT=>0,
   :T_CLASS=>0,
   :T_MODULE=>0,
   :T_FLOAT=>0,
   :T_STRING=>0,
   :T_REGEXP=>0,
   :T_ARRAY=>0,
   :T_HASH=>0,
   :T_STRUCT=>0,
   :T_BIGNUM=>0,
   :T_FILE=>0,
   :T_DATA=>0,
   :T_MATCH=>0,
   :T_COMPLEX=>0,
   :T_RATIONAL=>0,
   :unknown=>0,
   :T_NIL=>0,
   :T_TRUE=>0,
   :T_FALSE=>0,
   :T_SYMBOL=>0,
   :T_FIXNUM=>0,
   :T_UNDEF=>0,
   :T_NODE=>0,
   :T_ICLASS=>0,
   :T_ZOMBIE=>0},
 :remembered_normal_object_count_types=>
  {:T_NONE=>0,
   :T_OBJECT=>0,
   :T_CLASS=>0,
   :T_MODULE=>0,
   :T_FLOAT=>0,
   :T_STRING=>0,
   :T_REGEXP=>0,
   :T_ARRAY=>0,
   :T_HASH=>0,
   :T_STRUCT=>0,
   :T_BIGNUM=>0,
   :T_FILE=>0,
   :T_DATA=>0,
   :T_MATCH=>0,
   :T_COMPLEX=>0,
   :T_RATIONAL=>0,
   :unknown=>0,
   :T_NIL=>0,
   :T_TRUE=>0,
   :T_FALSE=>0,
   :T_SYMBOL=>0,
   :T_FIXNUM=>0,
   :T_UNDEF=>0,
   :T_NODE=>0,
   :T_ICLASS=>0,
   :T_ZOMBIE=>0},
 :remembered_shady_object_count_types=>
  {:T_NONE=>0,
   :T_OBJECT=>0,
   :T_CLASS=>0,
   :T_MODULE=>0,
   :T_FLOAT=>0,
   :T_STRING=>0,
   :T_REGEXP=>0,
   :T_ARRAY=>0,
   :T_HASH=>0,
   :T_STRUCT=>0,
   :T_BIGNUM=>0,
   :T_FILE=>0,
   :T_DATA=>0,
   :T_MATCH=>0,
   :T_COMPLEX=>0,
   :T_RATIONAL=>0,
   :unknown=>0,
   :T_NIL=>0,
   :T_TRUE=>0,
   :T_FALSE=>0,
   :T_SYMBOL=>0,
   :T_FIXNUM=>0,
   :T_UNDEF=>0,
   :T_NODE=>0,
   :T_ICLASS=>0,
   :T_ZOMBIE=>0}}
{:count=>844,
 :heap_used=>2075,
 :heap_sorted_length=>2242,
 :heap_allocatable_pages=>0,
 :heap_live_slot=>801966,
 :heap_free_slot=>43799,
 :heap_final_slots=>0,
 :heap_marked_slots=>411029,
 :heap_swept_slots=>190151,
 :heap_eden_pages=>1968,
 :heap_tomb_pages=>107,
 :total_allocated_objects=>146630875,
 :total_freed_objects=>145828909,
 :malloc_increase=>12688,
 :malloc_limit=>19843927,
 :minor_gc_count=>831,
 :major_gc_count=>13,
 :remembered_shady_object=>172,
 :remembered_shady_object_limit=>316,
 :old_object=>5072,
 :old_object_limit=>10034,
 :oldmalloc_increase=>7171256,
 :oldmalloc_limit=>36343339,
 :total_generated_normal_object_count=>21425,
 :total_generated_shady_object_count=>146609450,
 :total_shade_operation_count=>0,
 :total_remembered_normal_object_count=>153,
 :total_remembered_shady_object_count=>1762,
 :generated_normal_object_count_types=>
  {:T_NONE=>0,
   :T_OBJECT=>1224,
   :T_CLASS=>495,
   :T_MODULE=>21,
   :T_FLOAT=>4,
   :T_STRING=>10238,
   :T_REGEXP=>2,
   :T_ARRAY=>7896,
   :T_HASH=>21,
   :T_STRUCT=>0,
   :T_BIGNUM=>2,
   :T_FILE=>0,
   :T_DATA=>1368,
   :T_MATCH=>0,
   :T_COMPLEX=>1,
   :T_RATIONAL=>0,
   :unknown=>0,
   :T_NIL=>0,
   :T_TRUE=>0,
   :T_FALSE=>0,
   :T_SYMBOL=>0,
   :T_FIXNUM=>0,
   :T_UNDEF=>0,
   :T_NODE=>129,
   :T_ICLASS=>25,
   :T_ZOMBIE=>0},
 :generated_shady_object_count_types=>
  {:T_NONE=>0,
   :T_OBJECT=>0,
   :T_CLASS=>0,
   :T_MODULE=>0,
   :T_FLOAT=>0,
   :T_STRING=>0,
   :T_REGEXP=>0,
   :T_ARRAY=>0,
   :T_HASH=>0,
   :T_STRUCT=>0,
   :T_BIGNUM=>0,
   :T_FILE=>7,
   :T_DATA=>146597379,
   :T_MATCH=>0,
   :T_COMPLEX=>0,
   :T_RATIONAL=>0,
   :unknown=>0,
   :T_NIL=>0,
   :T_TRUE=>0,
   :T_FALSE=>0,
   :T_SYMBOL=>0,
   :T_FIXNUM=>0,
   :T_UNDEF=>0,
   :T_NODE=>12064,
   :T_ICLASS=>0,
   :T_ZOMBIE=>0},
 :shade_operation_count_types=>
  {:T_NONE=>0,
   :T_OBJECT=>0,
   :T_CLASS=>0,
   :T_MODULE=>0,
   :T_FLOAT=>0,
   :T_STRING=>0,
   :T_REGEXP=>0,
   :T_ARRAY=>0,
   :T_HASH=>0,
   :T_STRUCT=>0,
   :T_BIGNUM=>0,
   :T_FILE=>0,
   :T_DATA=>0,
   :T_MATCH=>0,
   :T_COMPLEX=>0,
   :T_RATIONAL=>0,
   :unknown=>0,
   :T_NIL=>0,
   :T_TRUE=>0,
   :T_FALSE=>0,
   :T_SYMBOL=>0,
   :T_FIXNUM=>0,
   :T_UNDEF=>0,
   :T_NODE=>0,
   :T_ICLASS=>0,
   :T_ZOMBIE=>0},
 :promoted_types=>
  {:T_NONE=>0,
   :T_OBJECT=>6,
   :T_CLASS=>494,
   :T_MODULE=>13,
   :T_FLOAT=>4,
   :T_STRING=>2201,
   :T_REGEXP=>2,
   :T_ARRAY=>953,
   :T_HASH=>8,
   :T_STRUCT=>0,
   :T_BIGNUM=>2,
   :T_FILE=>0,
   :T_DATA=>1339,
   :T_MATCH=>0,
   :T_COMPLEX=>1,
   :T_RATIONAL=>0,
   :unknown=>0,
   :T_NIL=>0,
   :T_TRUE=>0,
   :T_FALSE=>0,
   :T_SYMBOL=>0,
   :T_FIXNUM=>0,
   :T_UNDEF=>0,
   :T_NODE=>78,
   :T_ICLASS=>1,
   :T_ZOMBIE=>0},
 :remembered_normal_object_count_types=>
  {:T_NONE=>0,
   :T_OBJECT=>0,
   :T_CLASS=>1,
   :T_MODULE=>0,
   :T_FLOAT=>0,
   :T_STRING=>5,
   :T_REGEXP=>0,
   :T_ARRAY=>141,
   :T_HASH=>0,
   :T_STRUCT=>0,
   :T_BIGNUM=>0,
   :T_FILE=>0,
   :T_DATA=>5,
   :T_MATCH=>0,
   :T_COMPLEX=>0,
   :T_RATIONAL=>0,
   :unknown=>0,
   :T_NIL=>0,
   :T_TRUE=>0,
   :T_FALSE=>0,
   :T_SYMBOL=>0,
   :T_FIXNUM=>0,
   :T_UNDEF=>0,
   :T_NODE=>1,
   :T_ICLASS=>0,
   :T_ZOMBIE=>0},
 :remembered_shady_object_count_types=>
  {:T_NONE=>0,
   :T_OBJECT=>0,
   :T_CLASS=>0,
   :T_MODULE=>112,
   :T_FLOAT=>0,
   :T_STRING=>0,
   :T_REGEXP=>0,
   :T_ARRAY=>0,
   :T_HASH=>0,
   :T_STRUCT=>0,
   :T_BIGNUM=>0,
   :T_FILE=>56,
   :T_DATA=>1272,
   :T_MATCH=>0,
   :T_COMPLEX=>0,
   :T_RATIONAL=>0,
   :unknown=>0,
   :T_NIL=>0,
   :T_TRUE=>0,
   :T_FALSE=>0,
   :T_SYMBOL=>0,
   :T_FIXNUM=>0,
   :T_UNDEF=>0,
   :T_NODE=>0,
   :T_ICLASS=>322,
   :T_ZOMBIE=>0}}

_9(Tue)

メモ:盆栽いじりの結果(47459->47469)

Speedup ratio: compare with the result of `trunk-old' (greater is better)
name    trunk
loop_whileloop  1.002
vm1_gc_short_lived*     1.046
vm1_gc_short_with_complex_long* 1.037
vm1_gc_short_with_long* 1.039
vm1_gc_short_with_symbol*       1.032
vm1_gc_wb_ary*  0.977
vm1_gc_wb_obj*  0.998
Speedup ratio: compare with the result of `trunk-old' (greater is better)
name    trunk
app_answer      1.012
app_aobench     1.015
app_erb 1.014
app_factorial   1.018
app_fib 1.001
app_lc_fizzbuzz 1.015
app_mandelbrot  1.137
app_pentomino   1.016
app_raise       0.978
app_strconcat   1.016
app_tak 1.002
app_tarai       1.004
app_uri 0.989

数% の向上。

Sasada Koichi / ko1 at atdot dot net
$Date: 2003/04/28 10:27:51 $