Skip to content

Instantly share code, notes, and snippets.

@imasahiro
Created May 22, 2011 14:58
Show Gist options
  • Save imasahiro/985546 to your computer and use it in GitHub Desktop.
Save imasahiro/985546 to your computer and use it in GitHub Desktop.
ruby_gc oprofile
#
# ./miniruby ./ptest/ao-render.rb > ao.ppm
# ./miniruby ./ptest/bm_so_binary_trees.rb
# ./miniruby ./ptest/bm_so_nbody.rb
#
CPU: Core 2, speed 2003 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 10000
Counted LLC_MISSES events (L2 cache demand requests from this core that missed the L2) with a unit mask of 0x41 (No unit mask) count 10000
samples % samples % image name symbol name
8795893 39.1829 295 5.8590 miniruby vm_exec_core
2249580 10.0212 3 0.0596 miniruby vm_setup_method.isra.27
1716706 7.6474 1468 29.1559 miniruby slot_sweep
1622057 7.2257 6 0.1192 miniruby vm_call_method
1354592 6.0343 2802 55.6504 miniruby gc_mark
1234357 5.4987 214 4.2502 miniruby gc_mark_children
898393 4.0021 3 0.0596 miniruby rb_newobj
580095 2.5841 85 1.6882 miniruby st_foreach
416579 1.8557 0 0 miniruby rb_float_new
412048 1.8355 4 0.0794 miniruby vm_call0
280764 1.2507 1 0.0199 miniruby rb_call0
267462 1.1915 2 0.0397 miniruby rb_method_entry
264186 1.1769 35 0.6951 miniruby mark_method_entry_i
243744 1.0858 70 1.3903 miniruby rb_ary_entry
223318 0.9948 0 0 miniruby st_lookup
222038 0.9891 0 0 miniruby rb_safe_level
175030 0.7797 3 0.0596 miniruby call_cfunc
163112 0.7266 0 0 miniruby rb_ivar_set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment