
C++ Standard Version and Compile Time 2/2
Header C++03 C++17 C++23
Micro sec LOC Micro sec LOC Micro sec LOC
<algorithm> 48 10,364 67 17,647 130 (2.7x) 32,273 (3.1x)
<cmath> 49 6,315 97 21,243 130 (2.7x) 28,298 (4.5x)
<vector> 49 7,856 83 20,193 124 (2.5x) 27,972 (3.5x)
<functional> 31 20,658 118 36,914 167 (5.3x) 68,984 (3.3x)
<thread> N/A 10,387 86 25,587 513 (5.9x) 33,601 (3.2x)
<iostream> 96 5,376 176 25,032 458 (4.7x) 78,717 (14.8x)
g++ -std=c++<VER> -E -x c++ /usr/include/c++/<VER>/<HEADER> | wc -l
• What happened with compilation times in c++20?
• C++ Compile Health Watchdog
26/114