FYI, recent Autotools builds (including with --build-config=release) have been defaulting to !NDEBUG (debug build), which is a dramatic performance hit. This can be avoided by explicitly setting --enable-ndebug until the default is updated. CMake and MSVC unaffected.