[Xastir-dev] Latest gprof profiling stats
Curt, WE7U
archer at eskimo.com
Tue Jan 25 16:45:57 EST 2005
This is from an Xastir session that ran about a day hooked to a full
unfiltered firenet feed (that's a lot of punishment). It was
running between about 2% and 10% CPU toward the end of the run,
usually settling down to about 4%. That was with "top" set to a
60-second update rate.
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls Ks/call Ks/call name
17.11 548.69 548.69 134807 0.00 0.00 index_retrieve
12.15 938.28 389.59 1 0.39 3.00 UpdateTime
7.54 1179.99 241.71 3374 0.00 0.00 display_file
4.37 1319.95 139.96 131793 0.00 0.00 draw_shapefile_map
4.25 1456.21 136.26 1905726 0.00 0.00 search_station_name
4.13 1588.69 132.48 msg_comp_data
3.93 1714.82 126.13 1849226 0.00 0.00 data_add
3.24 1818.82 104.00 395288008 0.00 0.00 is_my_call
3.03 1916.03 97.21 24833697 0.00 0.00 check_and_transmit_objects_items
2.51 1996.44 80.41 3784910 0.00 0.00 convert_lat_s2l
1.57 2046.87 50.43 97001108 0.00 0.00 convert_to_xastir_coordinates
1.48 2094.37 47.50 3944805 0.00 0.00 langcode
1.35 2137.64 43.27 35576545 0.00 0.00 awk_eval_expr
1.33 2180.36 42.72 6320 0.00 0.00 mscan_file
1.23 2219.77 39.41 82415115 0.00 0.00 ok_to_draw_station
1.03 2252.90 33.13 79706740 0.00 0.00 begin_critical_section
0.95 2283.43 30.53 79706898 0.00 0.00 end_critical_section
In case you haven't looked at such things before, this looks VERY
good compared to what we had just last week. Nothing stands out as
taking extreme amounts of CPU time. Of course I'm already looking
at the #1 slot and thinking: Change to a hash! That'll knock
off another 17% of our CPU time.
Last week I was seeing 40% to 75% of our CPU time being taken up by
linear searches through the weather alert array. Those are gone
now.
--
Curt, WE7U. APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir-dev
mailing list