My engine, as average, expend time as follow:
- 37,5% in evaluation functions.
- 36,0% in searching functions: search, qsearch, extensions, SEE, ...
- 23,5% in move-related functions: gen, make and unmake moves, isAttacked....
- 3% for control function: time, printPV, etc.
Does this numbers look acceptable? what are those stats for strong top engines?
Regards,
FS
Profiling times
Moderators: hgm, Rebel, chrisw
-
- Posts: 620
- Joined: Fri Feb 08, 2008 10:44 am
- Location: Madrid - Spain
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Profiling times
Here's a recent run from Crafty:Kempelen wrote:My engine, as average, expend time as follow:
- 37,5% in evaluation functions.
- 36,0% in searching functions: search, qsearch, extensions, SEE, ...
- 23,5% in move-related functions: gen, make and unmake moves, isAttacked....
- 3% for control function: time, printPV, etc.
Does this numbers look acceptable? what are those stats for strong top engines?
Regards,
FS
Code: Select all
% cumulative self self total
time seconds seconds calls s/call s/call name
13.28 22.16 22.16 314523363 0.00 0.00 Evaluate
12.52 43.03 20.88 333299439 0.00 0.00 Swap
10.70 60.88 17.84 11469 0.00 0.01 Search
9.99 77.53 16.66 158748078 0.00 0.00 EvaluateRooks
6.17 87.83 10.29 209668390 0.00 0.00 QuiesceChecks
5.92 97.69 9.87 16823774 0.00 0.00 EvaluatePawns
5.70 107.21 9.52 118351428 0.00 0.00 GenerateCaptures
5.64 116.62 9.41 49542279 0.00 0.00 Quiesce
5.54 125.86 9.23 158748078 0.00 0.00 EvaluateBishops
4.41 133.22 7.36 243820789 0.00 0.00 MakeMove
3.53 139.10 5.89 161392297 0.00 0.00 EvaluatePassedPawns
3.43 144.82 5.71 158748078 0.00 0.00 EvaluateKnights
2.72 149.35 4.54 63278787 0.00 0.00 HashProbe
2.23 153.07 3.72 236600645 0.00 0.00 NextMove
1.89 156.22 3.15 14370083 0.00 0.00 GenerateCheckEvasions
1.34 158.45 2.23 8080200 0.00 0.00 GenerateNoncaptures
1.06 160.21 1.76 33491328 0.00 0.00 GenerateChecks
1.03 161.94 1.73 23820796 0.00 0.00 NextEvasion
0.60 162.94 1.00 51449717 0.00 0.00 HashStore
0.55 163.86 0.92 8539085 0.00 0.00 QuiesceEvasions
0.35 164.44 0.58 35696412 0.00 0.00 PinnedOnKing
0.34 165.01 0.57 63304371 0.00 0.00 RepetitionCheck
0.28 165.48 0.47 21903014 0.00 0.00 UnmakeMove