Don't have Blackdown installed but here are some timing and profiling
results (linux/x86, compiled with -pg, 'gprof test_prog' output,
remembering the caveat of profiling always skewing the measurements):

ugli:/tmp/jhi/parrot ; time ./test_prog j.pbc
r 119,14s u 119,14s s 0,00s 100% "./test_prog j.pbc"
ugli:/tmp/jhi/parrot ; 

Flat profile:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total           
 time   seconds   seconds    calls  ms/call  ms/call  name    
 33.82     19.34    19.34        1 19340.00 57190.00  runops
 26.81     34.67    15.33 99980001     0.00     0.00  Parrot_op_add_i
 22.33     47.44    12.77 199970001     0.00     0.00  Parrot_op_inc_i
 17.05     57.19     9.75 100000000     0.00     0.00  Parrot_op_lt_i_ic
  0.00     57.19     0.00    10003     0.00     0.00  Parrot_op_set_i
  0.00     57.19     0.00    10000     0.00     0.00  Parrot_op_branch_ic
  0.00     57.19     0.00        6     0.00     0.00  Parrot_op_set_i_ic
  0.00     57.19     0.00        5     0.00     0.00  mem_allocate_aligned
  0.00     57.19     0.00        4     0.00     0.00  mem_sys_allocate
  0.00     57.19     0.00        1     0.00     0.00  Parrot_clear_p
  0.00     57.19     0.00        1     0.00     0.00  check_magic
  0.00     57.19     0.00        1     0.00     0.00  init_bytecode
  0.00     57.19     0.00        1     0.00     0.00  init_world
  0.00     57.19     0.00        1     0.00     0.00  make_interpreter
  0.00     57.19     0.00        1     0.00     0.00  mem_setup_allocator
  0.00     57.19     0.00        1     0.00     0.00  read_constants_table
  0.00     57.19     0.00        1     0.00     0.00  read_fixup_table
  0.00     57.19     0.00        1     0.00     0.00  string_compute_strlen
  0.00     57.19     0.00        1     0.00     0.00  string_init
  0.00     57.19     0.00        1     0.00     0.00  string_make
  0.00     57.19     0.00        1     0.00     0.00  string_native_compute_strlen
  0.00     57.19     0.00        1     0.00     0.00  string_native_vtable

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Reply via email to