Ethereal-dev: [Ethereal-dev] Profiling summary info for CygWin GTK2 build
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Mon, 1 Dec 2003 18:55:21 +0100
Hi List, I've been performing some tests with the reference capture http://www.ethereal.com/sample/netbench_1.cap used by Richard Sharpe during his tests. I've executed the following test scenario: 1. $ ./ethereal -r /path/to/netbench_1.cap 2. Choose "frame" as display filter and hit ENTER (time this) 3. Chose "Clear" button (time this) 4. 6. 8. 10. Same as 2. 5. 7. 9. Same as 3. This way, I read the capture 10 times, 5 times without dfilter, and 5 times with a dfilter where all frames match. I ran the scenario once with the attached color filters, once without. The top-50 in both situations is shown below. If I compare the results with the Native Win32 Ethereal 0.9.16 release, then I see that both now run at the same speed. This means that there is probably 50% performance increase between the 0.9.16 build and the CVS snapshot of 8:00 GMT today! 1. No color filters: ==================== "clear": 10 seconds "frame": 17 seconds Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls s/call s/call name 5.13 1.23 1.23 8659434 0.00 0.00 alloc_field_info 4.76 2.37 1.14 proto_tree_free_node 4.13 3.36 0.99 12041360 0.00 0.00 compute_offset_length 4.01 4.32 0.96 8659434 0.00 0.00 proto_tree_add_node 2.96 5.03 0.71 7975949 0.00 0.00 proto_tree_add_pi 2.92 5.73 0.70 8659655 0.00 0.00 fvalue_new 2.88 6.42 0.69 10235605 0.00 0.00 check_offset_length_no_exception 2.75 7.08 0.66 213660 0.00 0.00 dissect_tcp 2.55 7.69 0.61 9511990 0.00 0.00 ensure_contiguous_no_exception 2.50 8.29 0.60 4462392 0.00 0.00 proto_tree_add_uint 2.13 8.80 0.51 3159740 0.00 0.00 check_col 2.13 9.31 0.51 213660 0.00 0.00 dissect_ip 1.79 9.74 0.43 3181870 0.00 0.00 proto_tree_add_boolean 1.79 10.17 0.43 427320 0.00 0.00 in_cksum 1.67 10.57 0.40 9411140 0.00 0.00 ensure_contiguous 1.50 10.93 0.36 6190819 0.00 0.00 proto_tree_set_uint 1.50 11.29 0.36 213660 0.00 0.00 dissect_eth_common 1.25 11.59 0.30 922900 0.00 0.00 col_append_fstr 1.04 11.84 0.25 8659434 0.00 0.00 tvb_get_ds_tvb 1.04 12.09 0.25 937275 0.00 0.00 tvb_free 1.04 12.34 0.25 15203 0.00 0.00 proto_register_field_init 1.00 12.58 0.24 8709869 0.00 0.00 tvb_raw_offset 0.96 12.81 0.23 1119070 0.00 0.00 col_set_str 0.96 13.04 0.23 213640 0.00 0.00 fill_in_columns 0.92 13.26 0.22 6618208 0.00 0.00 fvalue_set_integer 0.92 13.48 0.22 1550395 0.00 0.00 proto_tree_add_uint_format 0.83 13.68 0.20 1018340 0.00 0.00 call_dissector_work 0.83 13.88 0.20 100850 0.00 0.00 dissect_smb 0.79 14.07 0.19 1282000 0.00 0.00 ip_to_str_buf 0.79 14.26 0.19 213660 0.00 0.00 dissect_frame 0.79 14.45 0.19 213640 0.00 0.00 add_packet_to_packet_list 0.75 14.63 0.18 427280 0.00 0.00 col_set_addr 0.75 14.81 0.18 213660 0.00 0.00 dissect_packet 0.75 14.99 0.18 conversation_match_exact 0.71 15.16 0.17 723615 0.00 0.00 tvb_set_subset 0.71 15.33 0.17 9 0.02 2.08 rescan_packets 0.63 15.48 0.15 4012168 0.00 0.00 int_fvalue_new 0.63 15.63 0.15 1291560 0.00 0.00 proto_tree_add_item 0.63 15.78 0.15 804680 0.00 0.00 dissector_try_port 0.63 15.93 0.15 691790 0.00 0.00 col_clear 0.63 16.08 0.15 163700 0.00 0.00 dissect_nbss 0.58 16.22 0.14 1018340 0.00 0.00 call_dissector_through_handle 0.58 16.36 0.14 854640 0.00 0.00 serv_name_lookup 0.58 16.50 0.14 320520 0.00 0.00 proto_tree_add_protocol_format 0.54 16.63 0.13 2129650 0.00 0.00 proto_tree_set_representation 0.50 16.75 0.12 6190848 0.00 0.00 set_integer 0.50 16.87 0.12 2463570 0.00 0.00 tvb_get_guint8 0.50 16.99 0.12 1220040 0.00 0.00 proto_is_protocol_enabled 0.46 17.10 0.11 2411535 0.00 0.00 tvb_get_ptr 0.46 17.21 0.11 g_direct_hash 0.42 17.31 0.10 1626415 0.00 0.00 fvalue_set 0.42 17.41 0.10 213660 0.00 0.00 ethertype 0.42 17.51 0.10 213660 0.00 0.00 tvb_free_chain 2. Color filters: ================= "clear": 19 seconds "frame": 19 seconds Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls s/call s/call name 6.34 2.57 2.57 17312017 0.00 0.00 alloc_field_info 5.67 4.87 2.30 proto_tree_free_node 4.54 6.71 1.84 17312017 0.00 0.00 proto_tree_add_node 4.14 8.39 1.68 15662527 0.00 0.00 proto_tree_add_pi 4.02 10.02 1.63 2556780 0.00 0.00 dfvm_apply 3.77 11.55 1.53 17312241 0.00 0.00 fvalue_new 3.18 12.84 1.29 7371967 0.00 0.00 proto_tree_add_uint 2.59 13.89 1.05 213660 0.00 0.00 dissect_tcp 2.39 14.86 0.97 13050790 0.00 0.00 compute_offset_length 1.97 15.66 0.80 10866980 0.00 0.00 check_offset_length_no_exception 1.90 16.43 0.77 12375307 0.00 0.00 proto_tree_set_uint 1.78 17.15 0.72 17412867 0.00 0.00 tvb_raw_offset 1.63 17.81 0.66 13229976 0.00 0.00 fvalue_set_integer 1.60 18.46 0.65 3159740 0.00 0.00 check_col 1.60 19.11 0.65 106820 0.00 0.00 dfilter_prime_proto_tree 1.38 19.67 0.56 213660 0.00 0.00 dissect_ip 1.33 20.21 0.54 17312017 0.00 0.00 tvb_get_ds_tvb 1.21 20.70 0.49 10131330 0.00 0.00 ensure_contiguous_no_exception 1.21 21.19 0.49 4356890 0.00 0.00 proto_tree_add_boolean 1.06 21.62 0.43 12375336 0.00 0.00 set_integer 1.06 22.05 0.43 1709280 0.00 0.00 ip_to_str_buf 1.04 22.47 0.42 427320 0.00 0.00 in_cksum 0.89 22.83 0.36 1119070 0.00 0.00 col_set_str 0.89 23.19 0.36 427280 0.00 0.00 col_set_addr 0.86 23.54 0.35 5234180 0.00 0.00 proto_tree_prime_hfid 0.84 23.88 0.34 100850 0.00 0.00 dissect_smb 0.81 24.21 0.33 213660 0.00 0.00 dissect_frame 0.79 24.53 0.32 213640 0.00 0.00 add_packet_to_packet_list 0.76 24.84 0.31 g_direct_equal 0.72 25.13 0.29 10030480 0.00 0.00 ensure_contiguous 0.72 25.42 0.29 8018481 0.00 0.00 int_fvalue_new 0.72 25.71 0.29 922900 0.00 0.00 col_append_fstr 0.69 25.99 0.28 1649490 0.00 0.00 proto_tree_add_item 0.69 26.27 0.28 apply_color_filter 0.69 26.55 0.28 g_direct_hash 0.62 26.80 0.25 691790 0.00 0.00 col_clear 0.62 27.05 0.25 213660 0.00 0.00 dissect_eth_common 0.59 27.29 0.24 4258840 0.00 0.00 proto_tree_set_representation 0.59 27.53 0.24 15203 0.00 0.00 proto_register_field_init 0.57 27.76 0.23 3252510 0.00 0.00 fvalue_set 0.57 27.99 0.23 1018340 0.00 0.00 call_dissector_work 0.54 28.21 0.22 2775830 0.00 0.00 proto_tree_add_uint_format 0.54 28.43 0.22 1119190 0.00 0.00 value_new 0.52 28.64 0.21 1220040 0.00 0.00 proto_is_protocol_enabled 0.49 28.84 0.20 2673920 0.00 0.00 tvb_get_ptr 0.49 29.04 0.20 213660 0.00 0.00 ethertype 0.47 29.23 0.19 854640 0.00 0.00 proto_tree_add_ether 0.47 29.42 0.19 640980 0.00 0.00 proto_tree_add_protocol_format 0.47 29.61 0.19 163700 0.00 0.00 dissect_nbss 0.44 29.79 0.18 2556780 0.00 0.00 free_register_overhead 0.44 29.97 0.18 9 0.02 3.26 rescan_packets 0.42 30.14 0.17 804680 0.00 0.00 dissector_try_port 0.42 30.31 0.17 680670 0.00 0.00 match_strval Should someone want *all* the profile data, I can send them as 2 .gz files each ~110 kbyte. Regards, Olivier
Attachment:
colorfilters
Description: Binary data
- Prev by Date: [Ethereal-dev] GSM Map
- Next by Date: Re: [Ethereal-dev] Ethereal optimizations (proposals)
- Previous by thread: Re: [Ethereal-dev] GSM Map
- Next by thread: [Ethereal-dev] (no subject)
- Index(es):