Follow-up Comment #5, bug #21988 (project freeciv):

> I used same mapseed, gameseed and same options, but I didn't
> get the same number of function call. I don't know why (maybe a
> memory error in the patch).

Actually, I was trying to set too big seeds, so they weren't taken in
account...

There is the stats without the patch:

 20.53    292.16   292.16 208816984     0.00     0.00  genhash_bucket_lookup
  0.05   1366.21     0.65 208492306     0.00     0.00  genhash_ptr_val_func
  0.04   1373.97     0.52 202681134     0.00     0.00  genhash_lookup
  0.01   1411.12     0.10  5122770     0.00     0.00 
genhash_default_free_func
  0.00   1415.37     0.06 127179108     0.00     0.00  genhash_ptr_comp_func
  0.00   1416.15     0.06    60930     0.00     0.00  genhash_replace_full
  0.00   1419.41     0.03  5056497     0.00     0.00  genhash_replace
  0.00   1420.04     0.03    55587     0.00     0.00  genhash_str_free_func
  0.00   1421.45     0.02      146     0.00     0.00  genhash_value_iter_init
  0.00   1422.27     0.01   217886     0.00     0.00  genhash_clear
  0.00   1423.34     0.00 12205410     0.00     0.00 
genhash_default_copy_func
  0.00   1423.34     0.00  1013080     0.00     0.00  genhash_insert
  0.00   1423.34     0.00   323708     0.00     0.00  genhash_str_comp_func
  0.00   1423.34     0.00   322804     0.00     0.00  genhash_str_val_func
  0.00   1423.34     0.00   207194     0.00     0.00  genhash_destroy
  0.00   1423.34     0.00   207186     0.00     0.00  genhash_new_full
  0.00   1423.34     0.00    55604     0.00     0.00  genhash_str_copy_func
  0.00   1423.34     0.00    12135     0.00     0.00  genhash_resize_table
  0.00   1423.34     0.00     5343     0.00     0.00  genhash_remove_full
  0.00   1423.34     0.00      853     0.00     0.00  genhash_iter_valid
  0.00   1423.34     0.00      789     0.00     0.00  genhash_iter_value
  0.00   1423.34     0.00      707     0.00     0.00  genhash_iter_next
  0.00   1423.34     0.00      524     0.00     0.00  genhash_size
  0.00   1423.34     0.00      146     0.00     0.00  genhash_iter_sizeof
  0.00   1423.34     0.00       10     0.00     0.00 
genhash_new_nentries_full


and the same stats with the patch applied:

  0.18    943.74     1.93 202681134     0.00     0.00  genhash_lookup
  0.10    994.22     1.03 208492306     0.00     0.00  genhash_ptr_val_func
  0.01   1054.80     0.14    55587     0.00     0.00  genhash_str_free_func
  0.01   1057.09     0.11    60930     0.00     0.00  genhash_replace_full
  0.01   1060.90     0.08  5056497     0.00     0.00  genhash_replace
  0.00   1063.88     0.05      146     0.00     0.00  genhash_value_iter_init
  0.00   1065.53     0.04   217886     0.00     0.00  genhash_clear
  0.00   1067.60     0.02 128159469     0.00     0.00  genhash_ptr_comp_func
  0.00   1068.08     0.02   322804     0.00     0.00  genhash_str_val_func
  0.00   1068.75     0.01 10183612     0.00     0.00 
genhash_default_copy_func
  0.00   1069.47     0.01    12842     0.00     0.00  genhash_iter_next
  0.00   1069.62     0.01     2181     0.00     0.00  genhash_insert
  0.00   1070.08     0.00  5127098     0.00     0.00 
genhash_default_free_func
  0.00   1070.08     0.00   323501     0.00     0.00  genhash_str_comp_func
  0.00   1070.08     0.00   207194     0.00     0.00  genhash_destroy
  0.00   1070.08     0.00   207186     0.00     0.00  genhash_new_full
  0.00   1070.08     0.00    55604     0.00     0.00  genhash_str_copy_func
  0.00   1070.08     0.00     5343     0.00     0.00  genhash_remove_full
  0.00   1070.08     0.00      853     0.00     0.00  genhash_iter_valid
  0.00   1070.08     0.00      789     0.00     0.00  genhash_iter_value
  0.00   1070.08     0.00      524     0.00     0.00  genhash_size
  0.00   1070.08     0.00      146     0.00     0.00  genhash_iter_sizeof
  0.00   1070.08     0.00       10     0.00     0.00 
genhash_new_nentries_full


It looks all right.


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21988>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to