[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] do_play_move speedup
From: |
Evan Berggren Daniel |
Subject: |
Re: [gnugo-devel] do_play_move speedup |
Date: |
Sun, 22 Sep 2002 23:47:13 -0400 (EDT) |
I reran the profiles for my previous patch, being much more careful to
reduce usage of the computer during that time. Attached results are still
slightly noisy, but I think there is a far clearer improvement. I have
not rechecked individual pieces of the patch.
Thanks
Evan Daniel
Original:
% cumulative self self total
time seconds seconds calls Ks/call Ks/call name
8.40 117.79 117.79 186396832 0.00 0.00 scan_for_patterns
5.23 191.06 73.27 138732020 0.00 0.00 fastlib
4.09 248.39 57.33 225220 0.00 0.00
compute_primary_domains
3.80 301.68 53.29 55561853 0.00 0.00 do_play_move
3.60 352.21 50.53 33859068 0.00 0.00 order_moves
3.48 400.94 48.73 77034189 0.00 0.00
incremental_order_moves
3.38 448.30 47.36 120323957 0.00 0.00 check_pattern_light
2.86 488.46 40.16 55556235 0.00 0.00 undo_trymove
2.57 524.42 35.96 230063283 0.00 0.00 neighbor_of_string
2.32 556.92 32.50 149552506 0.00 0.00 approxlib
New profile:
% cumulative self self total
time seconds seconds calls Ks/call Ks/call name
8.55 119.02 119.02 186396832 0.00 0.00 scan_for_patterns
4.92 187.53 68.51 138732020 0.00 0.00 fastlib
4.12 244.92 57.39 225220 0.00 0.00
compute_primary_domains
3.52 293.88 48.96 33859068 0.00 0.00 order_moves
3.45 341.83 47.95 120323957 0.00 0.00 check_pattern_light
3.33 388.14 46.31 55561853 0.00 0.00 do_play_move
3.19 432.55 44.41 77034189 0.00 0.00
incremental_order_moves
2.84 472.05 39.50 55556235 0.00 0.00 undo_trymove
2.56 507.63 35.58 230063283 0.00 0.00 neighbor_of_string
2.53 542.88 35.25 149552506 0.00 0.00 approxlib