Package: libprometheus-cpp-core1.0 Version: 1.0.0-1 Severity: important X-Debbugs-Cc: dmitr...@gmail.com
The CMakeList.txt of the library doesn't contain default CMAKE_BUILD_TYPE to be set to Release. Neither this variable is not set in debian/rules file. So the resulting library is build with no optimization enabled which hits performance by factor of around 2x. -- System Information: Debian Release: 11.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-21-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libprometheus-cpp-core1.0 depends on: ii libc6 2.31-13+deb11u5 ii libgcc-s1 10.2.1-6 ii libstdc++6 10.2.1-6 libprometheus-cpp-core1.0 recommends no packages. libprometheus-cpp-core1.0 suggests no packages. -- no debconf information