[Xastir-dev] Latest profiling stats w/alert hash

Jerry Chamberlin jerryc at netlab.org
Sun Jan 23 16:14:59 EST 2005


Ok quick, how do I turn that on to see these on my systems?
Might be fun on a cold winter night


On Sun, 23 Jan 2005, Curt Mills wrote:

> 
> The landscape has changed dramatically, as expected.  Compare this
> to the earlier profiling stats:
> 
> 
> Flat profile:
> 
> Each sample counts as 0.01 seconds.
>   %   cumulative   self              self     total
>  time   seconds   seconds    calls   s/call   s/call  name
>  28.56     14.05    14.05     5916     0.00     0.00  draw_shapefile_map
>  17.34     22.58     8.53     5917     0.00     0.00  index_retrieve
>  13.84     29.39     6.81  1134603     0.00     0.00  convert_to_xastir_coordinates
>   4.59     31.65     2.26    15902     0.00     0.00  langcode
>   1.93     32.60     0.95                             hashtable_iterator_advance
>   1.81     33.49     0.89    11541     0.00     0.00  shape_ring_direction
>   1.71     34.33     0.84     4752     0.00     0.00  search_station_name
>   1.69     35.16     0.83     3966     0.00     0.00  data_add
>   1.52     35.91     0.75       65     0.01     0.02  display_file
>   1.34     36.57     0.66    17207     0.00     0.00  map_visible_lat_lon
>   1.26     37.19     0.62        1     0.62     0.62  load_language_file
>   1.20     37.78     0.59        1     0.59    45.76  UpdateTime
>   1.18     38.36     0.58      296     0.00     0.00  insert_symbol
>   1.12     38.91     0.55     4067     0.00     0.00  packet_data_add
>   1.00     39.40     0.49   351178     0.00     0.00  is_my_call
>   0.79     39.79     0.39                             hashtable_iterator_value
>   0.69     40.13     0.34     7314     0.00     0.00  convert_lat_s2l
>   0.67     40.46     0.33  5426290     0.00     0.00  sec_now
>   0.63     40.77     0.31    67325     0.00     0.00  display_station
>   0.63     41.08     0.31     5916     0.00     0.01  draw_map
>   0.57     41.36     0.28      188     0.00     0.02  fill_in_new_alert_entries
>   0.55     41.63     0.27     3985     0.00     0.00  valid_call
>   0.53     41.89     0.26     4069     0.00     0.00  valid_path
>   0.49     42.13     0.24      606     0.00     0.00  get_string
> 
> 
> It might be worth it now to change the map index storage/lookup into
> a hash, then to go after optimization of the draw_shapefile_map()
> routine.  Still a bit of cleanup to the do for the weather alert
> code first though.
> 
> -- 
> Curt, WE7U.				archer at eskimo dot com
> 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!"
> _______________________________________________
> Xastir-dev mailing list
> Xastir-dev at xastir.org
> https://lists.xastir.org/mailman/listinfo/xastir-dev
> 

The Net Lab year 2000 and beyond Internet Education is Science
http://www.netlab.org
WA0JRJ - Jerry
used to be ICQ 6408731
used to be AIM PappyJerry




More information about the Xastir-dev mailing list