Karlo Bala wrote: ↑Mon Dec 06, 2021 10:20 pm
Using MSVC compiler with the PGO can be up to 30% faster than without.
Cool!
I got ~6% improvement.
I added to the cl command /GENPROFILE
then run "stockfish.exe bench"
and then recompiled replacing /GENPROFILE with /USEPROFILE
Using MSVC compiler with the PGO can be up to 30% faster than without.
But even with +30% its still slower?
Also its like overclocking. You can turn on PGO for clang and gcc as well. But its a lot harder to setup correctly compared to a normal compile.
Karlo Bala wrote: ↑Mon Dec 06, 2021 10:20 pm
Using MSVC compiler with the PGO can be up to 30% faster than without.
Cool!
I got ~6% improvement.
I added to the cl command /GENPROFILE
then run "stockfish.exe bench"
and then recompiled replacing /GENPROFILE with /USEPROFILE
Well, not much
Can you upload somewhere the entire solution, I would like to give it a try (and something to compare with).
Using MSVC compiler with the PGO can be up to 30% faster than without.
But even with +30% its still slower?
Also its like overclocking. You can turn on PGO for clang and gcc as well. But its a lot harder to setup correctly compared to a normal compile.
It's literally profile-build instead of build. Just says how terribly useless your measurements are.
dangi12012 wrote:No one wants to touch anything you have posted. That proves you now have negative reputations since everyone knows already you are a forum troll.
Maybe you copied your stockfish commits from someone else too?
I will look into that.
Karlo Bala wrote: ↑Mon Dec 06, 2021 10:20 pm
Using MSVC compiler with the PGO can be up to 30% faster than without.
Cool!
I got ~6% improvement.
I added to the cl command /GENPROFILE
then run "stockfish.exe bench"
and then recompiled replacing /GENPROFILE with /USEPROFILE
Well, not much
Can you upload somewhere the entire solution, I would like to give it a try (and something to compare with).
Karlo Bala wrote: ↑Tue Dec 07, 2021 12:59 am
Can you upload somewhere the entire solution, I would like to give it a try (and something to compare with).
I compiled it directly from the command prompt (x64 Native Tools Command Prompt for VS 2022).
I downloaded Stockfish's source code into a directory "stockfish".
I downloaded the net ( https://tests.stockfishchess.org/api/nn ... 602d6.nnue ) into the directory "stockfish/src".
I opened the VS2022 command prompt and cd into "stockfish/src" and compiled it with: