Ethereal-dev: [Ethereal-dev] Time for new gprof data

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Thu, 5 Feb 2004 23:44:12 +0100
Hi list,

I just ran a test where I processed a 25000 packet capture (with many
protocols in it) 10 times: 5 times with the "frame" display filter and
5 times without a display filter (alternating), as I have done in
previous tests. I am however running Ethereal on a faster PC this time
(P4 @ 2.6 GHz in hyperthreading), so everything runs very fast.

No color filters:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
  5.04      0.50     0.50  8577990     0.00     0.00  alloc_field_info
  4.33      0.93     0.43  8577975     0.00     0.00
proto_tree_add_node
  3.22      1.25     0.32    15806     0.00     0.00
proto_register_field_init
  3.02      1.55     0.30 16147537     0.00     0.00
compute_offset_length
  2.52      1.80     0.25  8698945     0.00     0.00
proto_tree_free_node
  2.42      2.04     0.24 12369733     0.00     0.00
check_offset_length_no_exception
  2.22      2.26     0.22   120970     0.00     0.00
proto_tree_traverse_in_order
  2.01      2.46     0.20   197380     0.00     0.00  dissect_tcp
  1.71      2.63     0.17 10726461     0.00     0.00
ensure_contiguous_no_exception
  1.71      2.80     0.17  8577990     0.00     0.00  fvalue_init
  1.71      2.97     0.17  7271460     0.00     0.00
proto_tree_add_pi
  1.61      3.13     0.16   531733     0.00     0.00  tvb_pbrk_guint8
  1.41      3.27     0.14   241920     0.00     0.00
dissect_eth_common
  1.41      3.41     0.14   241900     0.00     0.00
add_packet_to_packet_list
  1.31      3.54     0.13  1088962     0.00     0.00
call_dissector_work
  1.31      3.67     0.13   241920     0.00     0.00  dissect_frame
  1.21      3.79     0.12   232495     0.00     0.00  dissect_ip
  1.11      3.90     0.11  2714155     0.00     0.00  check_col
  1.11      4.01     0.11   241920     0.00     0.00  dissect_packet
  1.01      4.11     0.10  1494025     0.00     0.00
proto_tree_add_item
  1.01      4.21     0.10   438315     0.00     0.00  in_cksum
  1.01      4.31     0.10   241900     0.00     0.00  fill_in_columns
  0.91      4.40     0.09  3952190     0.00     0.00
proto_tree_add_uint
  0.91      4.49     0.09  1140761     0.00     0.00  tvb_init
  0.91      4.58     0.09
conversation_match_exact
  0.91      4.67     0.09
tcp_segment_equal
  0.81      4.75     0.08   859864     0.00     0.00
dissector_try_port
  0.70      4.82     0.07  1411630     0.00     0.00  ip_to_str
  0.70      4.89     0.07   928060     0.00     0.00  serv_name_lookup
  0.70      4.96     0.07                             g_direct_hash
  0.60      5.02     0.06  5933667     0.00     0.00  set_integer
  0.60      5.08     0.06  5779263     0.00     0.00
proto_tree_set_uint
  0.60      5.14     0.06  1411688     0.00     0.00  ip_to_str_buf
  0.60      5.20     0.06  1125749     0.00     0.00  col_set_str
  0.60      5.26     0.06   241920     0.00     0.00
dissect_eth_maybefcs
  0.60      5.32     0.06   197300     0.00     0.00
tcp_print_sequence_number_analysis
  0.60      5.38     0.06    31822     0.00     0.00
dissect_http_message
  0.60      5.44     0.06      413     0.00     0.00
proto_register_field_array
  0.60      5.50     0.06                             gzread
  0.50      5.55     0.05  4034478     0.00     0.00  int_fvalue_new
  0.50      5.60     0.05  2443785     0.00     0.00
proto_tree_set_representation
  0.50      5.65     0.05   968501     0.00     0.00  except_setup_try
  0.50      5.70     0.05   622764     0.00     0.00  value_set
  0.50      5.75     0.05   483800     0.00     0.00  col_set_addr
  0.50      5.80     0.05   387776     0.00     0.00
proto_tree_add_protocol_format
  0.50      5.85     0.05   241920     0.00     0.00
epan_dissect_free
  0.50      5.90     0.05   241900     0.00     0.00
packet_list_append
  0.50      5.95     0.05   225161     0.00     0.00
is_http_request_or_reply
  0.50      6.00     0.05   223226     0.00     0.00  format_text
  0.50      6.05     0.05   143110     0.00     0.00
dissect_x11_request
  0.50      6.10     0.05   120950     0.00     0.00  dfvm_apply
  0.50      6.15     0.05        9     0.01     0.76  rescan_packets
  0.50      6.20     0.05        1     0.05     0.05
proto_register_lacpdu
  0.50      6.25     0.05                             tcp_acked_hash
  0.40      6.29     0.04  1899422     0.00     0.00
boolean_fvalue_new
  0.40      6.33     0.04  1210679     0.00     0.00
proto_tree_add_boolean
  0.40      6.37     0.04   891538     0.00     0.00  tvb_set_subset
  0.40      6.41     0.04   697460     0.00     0.00  get_hostname
  0.40      6.45     0.04   500324     0.00     0.00  col_clear
  0.40      6.49     0.04   241920     0.00     0.00
snoop_read_rec_data
  0.40      6.53     0.04   241920     0.00     0.00  tvb_free_chain
  0.40      6.57     0.04   241900     0.00     0.00
tap_push_tapped_queue
  0.40      6.61     0.04   241900     0.00     0.00  tap_queue_init
  0.40      6.65     0.04   217730     0.00     0.00  wtap_seek_read
  0.40      6.69     0.04   120950     0.00     0.00
proto_check_for_protocol_or_field
  0.30      6.72     0.03  6406882     0.00     0.00
fvalue_set_integer
  0.30      6.75     0.03  2921878     0.00     0.00  tvb_get_ntohs
  0.30      6.78     0.03  2498841     0.00     0.00
proto_get_protocol_short_name
  0.30      6.81     0.03  1814236     0.00     0.00
proto_tree_add_uint_format
  0.30      6.84     0.03  1427012     0.00     0.00
proto_is_protocol_enabled
  0.30      6.87     0.03  1285773     0.00     0.00
proto_item_add_subtree
  0.30      6.90     0.03  1032765     0.00     0.00
tvb_reported_length
  0.30      6.93     0.03   969650     0.00     0.00
proto_tree_add_ether
  0.30      6.96     0.03   968801     0.00     0.00  except_free
  0.30      6.99     0.03   895485     0.00     0.00
tvb_reported_length_remaining
  0.30      7.02     0.03   524595     0.00     0.00
bytes_fvalue_free
  0.30      7.05     0.03   501570     0.00     0.00  val_to_str
  0.30      7.08     0.03   483800     0.00     0.00
compute_timestamp_diff
  0.30      7.11     0.03   454378     0.00     0.00
proto_tree_add_time
  0.30      7.14     0.03   241920     0.00     0.00  epan_dissect_new
  0.30      7.17     0.03   241920     0.00     0.00
free_data_sources
  0.30      7.20     0.03   239880     0.00     0.00  ethertype
  0.30      7.23     0.03   217735     0.00     0.00  file_seek
  0.30      7.26     0.03   120950     0.00     0.00
dfilter_prime_proto_tree
  0.30      7.29     0.03   116280     0.00     0.00  ipprotostr
  0.30      7.32     0.03    90900     0.00     0.00  desegment_tcp
  0.30      7.35     0.03    65492     0.00     0.00  decode_tcp_ports
  0.30      7.38     0.03        1     0.03     0.03  DfilterAlloc
  0.30      7.41     0.03        1     0.03     0.03  main_menu_new
  0.30      7.44     0.03        1     0.03     0.03
proto_register_bacp
  0.30      7.47     0.03        1     0.03     0.03
proto_register_bossvr
  0.30      7.50     0.03        1     0.03     0.03
proto_register_gsm_sms
  0.30      7.53     0.03        1     0.03     0.03
proto_register_map
  0.30      7.56     0.03        1     0.03     0.03
proto_register_netlib
  0.30      7.59     0.03        1     0.03     0.03
register_tap_listener_gtkansi_a_stat
  0.30      7.62     0.03
conversation_hash_exact

Color filters:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
  6.76      0.66     0.66 13721728     0.00     0.00  alloc_field_info
  6.25      1.27     0.61 13721704     0.00     0.00
proto_tree_add_node
  5.23      1.78     0.51 13915240     0.00     0.00
proto_tree_free_node
  4.30      2.20     0.42   193536     0.00     0.00
proto_tree_traverse_in_order
  3.38      2.53     0.33 11470405     0.00     0.00
proto_tree_add_pi
  3.18      2.84     0.31  2297745     0.00     0.00  dfvm_apply
  2.66      3.10     0.26 13721728     0.00     0.00  fvalue_init
  2.36      3.33     0.23 15390929     0.00     0.00
compute_offset_length
  2.15      3.54     0.21   157904     0.00     0.00  dissect_tcp
  1.95      3.73     0.19 11728380     0.00     0.00
check_offset_length_no_exception
  1.84      3.91     0.18   186032     0.00     0.00  dissect_ip
  1.74      4.08     0.17  5880841     0.00     0.00
proto_tree_add_uint
  1.23      4.20     0.12   496761     0.00     0.00  tvb_pbrk_guint8
  1.23      4.32     0.12   193520     0.00     0.00
add_packet_to_packet_list
  1.23      4.44     0.12                             g_direct_hash
  1.13      4.55     0.11 10249659     0.00     0.00
fvalue_set_integer
  1.13      4.66     0.11  2251323     0.00     0.00
proto_tree_add_item
  1.13      4.77     0.11   523972     0.00     0.00  val_to_str
  1.13      4.88     0.11   358112     0.00     0.00  in_cksum
  1.02      4.98     0.10 10246196     0.00     0.00
ensure_contiguous_no_exception
  1.02      5.08     0.10  1502642     0.00     0.00  ip_to_str_buf
  1.02      5.18     0.10    96760     0.00     0.00
dfilter_prime_proto_tree
  1.02      5.28     0.10
apply_color_filter
  0.92      5.37     0.09   945437     0.00     0.00  tvb_init
  0.92      5.46     0.09   193536     0.00     0.00  dissect_frame
  0.92      5.55     0.09   193520     0.00     0.00  tap_queue_init
  0.82      5.63     0.08   743984     0.00     0.00  get_hostname
  0.82      5.71     0.08   688493     0.00     0.00
dissector_try_port
  0.82      5.79     0.08   193520     0.00     0.00  fill_in_columns
  0.72      5.86     0.07  9245550     0.00     0.00
proto_tree_set_uint
  0.72      5.93     0.07  1896502     0.00     0.00
proto_tree_add_boolean
  0.72      6.00     0.07   996939     0.00     0.00  value_new
  0.72      6.07     0.07   868042     0.00     0.00
offset_from_real_beginning
  0.72      6.14     0.07   325335     0.00     0.00  format_text
  0.72      6.21     0.07                             gzread
  0.61      6.27     0.06  6453897     0.00     0.00  int_fvalue_new
  0.61      6.33     0.06  2672412     0.00     0.00  tvb_get_ntohs
  0.61      6.39     0.06  2171562     0.00     0.00  check_col
  0.61      6.45     0.06   414482     0.00     0.00
bytestring_to_str
  0.61      6.51     0.06   387040     0.00     0.00  col_set_addr
  0.61      6.57     0.06   193536     0.00     0.00  dissect_packet
  0.61      6.63     0.06        7     0.01     1.08  rescan_packets
  0.51      6.68     0.05  4934760     0.00     0.00
proto_tree_prime_hfid
  0.51      6.73     0.05  2309809     0.00     0.00  tvb_get_guint8
  0.51      6.78     0.05   744408     0.00     0.00
proto_tree_add_ipv4
  0.51      6.83     0.05   620488     0.00     0.00
proto_tree_add_protocol_format
  0.51      6.88     0.05   503924     0.00     0.00  match_strval
  0.51      6.93     0.05   193536     0.00     0.00
dissect_eth_common
  0.51      6.98     0.05   193536     0.00     0.00
free_data_sources
  0.51      7.03     0.05   191904     0.00     0.00  ethertype
  0.41      7.07     0.04  3908156     0.00     0.00
proto_tree_set_representation
  0.41      7.11     0.04  3038907     0.00     0.00
boolean_fvalue_new
  0.41      7.15     0.04  2583868     0.00     0.00
proto_tree_add_uint_format
  0.41      7.19     0.04  1113712     0.00     0.00  serv_name_lookup
  0.41      7.23     0.04   874178     0.00     0.00
call_dissector_work
  0.41      7.27     0.04   790316     0.00     0.00  tap_queue_packet
  0.41      7.31     0.04   775451     0.00     0.00  except_setup_try
  0.41      7.35     0.04   745750     0.00     0.00  tvb_set_subset
  0.41      7.39     0.04   473417     0.00     0.00
tvb_ensure_length_remaining
  0.41      7.43     0.04   387040     0.00     0.00
compute_timestamp_diff
  0.41      7.47     0.04   386416     0.00     0.00
color_t_to_gdkcolor
  0.41      7.51     0.04   232667     0.00     0.00
dissector_try_heuristic
  0.41      7.55     0.04   193536     0.00     0.00
proto_tree_create_root
  0.41      7.59     0.04   193536     0.00     0.00  proto_tree_free
  0.41      7.63     0.04   193520     0.00     0.00  col_init
  0.41      7.67     0.04   180829     0.00     0.00
is_http_request_or_reply
  0.41      7.71     0.04   114488     0.00     0.00
dissect_x11_request
  0.41      7.75     0.04    96760     0.00     0.00
epan_dissect_prime_dfilter
  0.41      7.79     0.04
conversation_match_exact
  0.41      7.83     0.04
free_GPtrArray_value
  0.41      7.87     0.04
gtk_clist_get_type
  0.41      7.91     0.04
tcp_segment_equal
  0.31      7.94     0.03  9492579     0.00     0.00  set_integer
  0.31      7.97     0.03  2197199     0.00     0.00  tvb_get_ptr
  0.31      8.00     0.03  2005187     0.00     0.00
proto_get_protocol_short_name
  0.31      8.03     0.03  1732702     0.00     0.00  tvb_get_ntohl
  0.31      8.06     0.03  1151236     0.00     0.00  tvb_length
  0.31      8.09     0.03   996939     0.00     0.00
proto_tree_set_protocol_tvb
  0.31      8.12     0.03   900594     0.00     0.00  col_set_str
  0.31      8.15     0.03   839298     0.00     0.00  bytes_fvalue_new
  0.31      8.18     0.03   839295     0.00     0.00
bytes_fvalue_free
  0.31      8.21     0.03   775739     0.00     0.00  except_free
  0.31      8.24     0.03   468585     0.00     0.00  tvb_bytes_exist
  0.31      8.27     0.03   400261     0.00     0.00  col_clear
  0.31      8.30     0.03   215678     0.00     0.00
find_conversation
  0.31      8.33     0.03   193536     0.00     0.00
epan_dissect_free
  0.31      8.36     0.03   193536     0.00     0.00  epan_dissect_new
  0.31      8.39     0.03   157840     0.00     0.00
tcp_print_sequence_number_analysis
  0.31      8.42     0.03   116872     0.00     0.00  process_header
  0.31      8.45     0.03   107641     0.00     0.00
proto_tree_add_string
  0.31      8.48     0.03   106471     0.00     0.00  tvb_find_guint8
  0.31      8.51     0.03    46632     0.00     0.00  gcAttributes
  0.31      8.54     0.03    25984     0.00     0.00
dissect_http_message
  0.31      8.57     0.03    24191     0.00     0.00  wtap_read
  0.31      8.60     0.03     2520     0.00     0.00
dissect_x11_requests
  0.31      8.63     0.03                             g_direct_equal
  0.31      8.66     0.03                             gzseek