1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 00:33:09 +00:00
BadFish/src
Tomasz Sobczyk 3ac75cd27d Add a standardized benchmark command speedtest.
`speedtest [threads] [hash_MiB] [time_s]`. `threads` default to system concurrency. `hash_MiB` defaults to `threads*128`. `time_s` defaults to 150.

Intended to be used with default parameters, as a stable hardware benchmark.

Example:
```
C:\dev\stockfish-master\src>stockfish.exe speedtest
Stockfish dev-20240928-nogit by the Stockfish developers (see AUTHORS file)
info string Using 16 threads
Warmup position 3/3
Position 258/258
===========================
Version                    : Stockfish dev-20240928-nogit
Compiled by                : g++ (GNUC) 13.2.0 on MinGW64
Compilation architecture   : x86-64-vnni256
Compilation settings       : 64bit VNNI BMI2 AVX2 SSE41 SSSE3 SSE2 POPCNT
Compiler __VERSION__ macro : 13.2.0
Large pages                : yes
User invocation            : speedtest
Filled invocation          : speedtest 16 2048 150
Available processors       : 0-15
Thread count               : 16
Thread binding             : none
TT size [MiB]              : 2048
Hash max, avg [per mille]  :
    single search          : 40, 21
    single game            : 631, 428
Total nodes searched       : 2099917842
Total search time [s]      : 153.937
Nodes/second               : 13641410
```

-------------------------------

Small unrelated tweaks:
 - Network verification output is now handled as a callback.
 - TT hashfull queries allow specifying maximum entry age.

closes https://github.com/official-stockfish/Stockfish/pull/5354

No functional change
2024-09-28 18:01:26 +02:00
..
incbin Cleanup comments 2023-12-31 19:54:27 +01:00
nnue Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
syzygy Fixed non UCI compliance 2024-07-15 13:14:57 +02:00
benchmark.cpp Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
benchmark.h Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
bitboard.cpp Introduce Various Correction histories 2024-09-17 21:01:43 +02:00
bitboard.h Assorted cleanups 2024-02-11 19:52:00 +01:00
engine.cpp Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
engine.h Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
evaluate.cpp Replace simple eval with psqt in re-eval condition 2024-07-23 19:24:00 +02:00
evaluate.h Update default main net to nn-1111cefa1111.nnue 2024-08-20 20:59:36 +02:00
main.cpp Transform search output to engine callbacks 2024-04-05 21:03:58 +02:00
Makefile Fix native arch builds on loongarch64 2024-09-28 17:12:12 +02:00
memory.cpp Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
memory.h Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
misc.cpp Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
misc.h Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
movegen.cpp Remove QS_CHECKS movepick stage 2024-07-23 17:56:52 +02:00
movegen.h Remove QS_CHECKS movepick stage 2024-07-23 17:56:52 +02:00
movepick.cpp Removed ROOK threatenedByPawn 2024-09-28 17:17:14 +02:00
movepick.h Introduce Various Correction histories 2024-09-17 21:01:43 +02:00
numa.h Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
perft.h Restore NPS output for Perft 2024-04-24 18:20:55 +02:00
position.cpp Introduce Various Correction histories 2024-09-17 21:01:43 +02:00
position.h Introduce Various Correction histories 2024-09-17 21:01:43 +02:00
score.cpp Fix wrong sign for 200 TB score 2024-04-13 22:05:19 +02:00
score.h Fix wrong sign for 200 TB score 2024-04-13 22:05:19 +02:00
search.cpp simplify see pruning in qsearch 2024-09-28 17:22:33 +02:00
search.h Introduce Various Correction histories 2024-09-17 21:01:43 +02:00
thread.cpp Replicate network weights only to used NUMA nodes 2024-08-03 09:41:37 +02:00
thread.h Replicate network weights only to used NUMA nodes 2024-08-03 09:41:37 +02:00
thread_win32_osx.h Refactor NativeThread start_routine 2024-01-21 12:21:01 +01:00
timeman.cpp Simplify tm, removing faster 1st move and 1.13 extraTime. 2024-06-01 20:12:36 +02:00
timeman.h Simplify tm, removing faster 1st move and 1.13 extraTime. 2024-06-01 20:12:36 +02:00
tt.cpp Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
tt.h Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
tune.cpp Move options into the engine 2024-06-12 09:17:04 +02:00
tune.h Move options into the engine 2024-06-12 09:17:04 +02:00
types.h Remove QS_CHECKS movepick stage 2024-07-23 17:56:52 +02:00
uci.cpp Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
uci.h Add a standardized benchmark command speedtest. 2024-09-28 18:01:26 +02:00
ucioption.cpp Fixed non UCI compliance 2024-07-15 13:14:57 +02:00
ucioption.h Move options into the engine 2024-06-12 09:17:04 +02:00