It is reasonable to test a configuration that is used in the Bitcoin Core build.
For MSVC, the “Release” config (/O2 /Ob2) is preferable over “RelWithDebInfo” (/Zi /O2 /Ob1) for the following reasons:
/Ob2can be slightly better than/Ob1for performance; see:
/Zi, which produces a separate PDB file that contains all the symbolic debugging information, is incompatible withccache; see: