jhonnold / berserk

UCI Chess Engine written in C
GNU General Public License v3.0
200 stars 32 forks source link

Between search optimizations #418

Closed jhonnold closed 1 year ago

jhonnold commented 1 year ago

Bench: 4617111

A patch mostly to alleviate SMP issues with fast TCs due to many memory allocs and sets between searches.

STC

ELO   | 0.26 +- 1.92 (95%)
SPRT  | 10.0+0.10s Threads=1 Hash=8MB
LLR   | 2.95 (-2.94, 2.94) [-3.00, 0.00]
GAMES | N: 57992 W: 13393 L: 13349 D: 31250

SMP STC

ELO   | 3.02 +- 3.56 (95%)
SPRT  | 5.0+0.05s Threads=8 Hash=64MB
LLR   | 1.24 (-2.94, 2.94) [0.00, 3.00]
GAMES | N: 16133 W: 3636 L: 3496 D: 9001