standard template library latency how long to just #include time is expressed as milliseconds amd ryzen threadripper pro 7995wx header gcc4.8 gcc4.9 gcc7.2 gcc11 gcc13 clang-19 ------ ------ ------ ------ ----- ----- -------- chrono 22 23 30 43 519 516 fstream 72 77 115 167 201 515 syncstream - - - 7 199 484 iostream 69 73 104 150 189 461 strstream 69 72 102 153 190 459 ostream 64 66 94 138 181 450 random 100 194 115 211 264 416 future 157 169 200 241 323 406 thread 84 88 116 93 253 384 print - - - - - 370 functional 58 61 83 126 158 356 filesystem - - - 279 315 350 regex 231 299 235 359 320 347 complex 79 83 117 209 271 342 complex.h 80 83 121 214 278 341 ctgmath 12 14 117 207 279 340 tgmath.h 12 14 119 212 276 339 format - - - - 364 339 ccomplex 80 83 118 210 276 338 queue 38 43 52 72 114 310 sstream 70 74 104 151 193 298 iomanip 71 75 133 188 218 297 istream 68 70 101 146 187 296 vector 32 34 40 54 102 294 locale 69 75 113 164 198 276 condition_variable 73 94 118 178 279 251 streambuf 51 54 78 120 164 245 ios 61 64 91 136 178 240 memory_resource - - - 177 134 223 mutex 73 77 98 148 94 220 codecvt - - 76 112 158 208 algorithm 124 202 42 128 104 200 shared_mutex - - 122 141 54 198 bitset 49 52 70 109 147 180 system_error 48 52 71 113 152 171 ranges - - - 8 230 170 string 45 48 66 104 144 168 unordered_map 62 68 97 89 109 148 unordered_set 64 68 96 84 107 145 numeric 11 13 15 28 39 138 stack 28 31 37 50 93 123 valarray 147 224 71 211 194 120 deque 27 30 35 48 93 120 map 59 62 86 70 93 119 set 27 32 40 57 92 113 string_view - - - 48 73 112 memory 71 75 94 94 228 111 iterator 68 71 101 121 164 94 list 22 25 32 45 80 87 barrier - - - 7 207 86 mdspan - - - - - 85 forward_list 73 29 34 45 82 84 stop_token - - - 7 251 80 array 47 50 68 35 48 73 stdatomic.h - - - - 52 69 atomic 16 17 24 33 51 69 charconv - - - 34 32 68 variant - - - 39 43 66 semaphore - - - 7 76 61 scoped_allocator 55 56 79 48 68 59 any - - - 27 24 59 optional - - - 33 40 58 latch - - - 7 41 58 span - - - 7 64 53 coroutine - - - - 25 51 tuple 50 53 76 44 63 47 cmath 13 14 15 79 111 46 math.h 8 9 14 80 112 44 utility 12 13 16 21 29 43 typeindex 8 9 8 10 24 35 expected - - - - 32 33 compare - - - 7 24 33 type_traits 11 12 13 17 18 27 exception 8 9 17 22 21 24 concepts - - - 7 19 24 bit - - - 21 21 21 new 8 9 16 9 9 18 cwchar 7 8 7 9 11 18 typeinfo 8 9 8 9 10 17 signal.h 7 8 8 9 13 17 limits 11 12 12 18 15 17 csignal 8 9 8 10 13 17 stdlib.h 7 8 8 10 13 16 ratio 13 14 16 20 20 16 cstdlib 7 8 7 10 13 16 threads.h 7 8 8 8 10 15 stdexcept 47 49 66 108 147 15 numbers - - - 7 19 15 initializer_list 7 8 7 9 9 15 cstdio 7 8 8 9 11 15 cstddef 7 8 7 9 9 15 wchar.h 7 8 7 8 10 14 time.h 7 8 7 8 10 14 string.h 7 8 7 8 9 14 stdio.h 7 8 7 8 10 14 source_location - - - 7 9 14 iosfwd 8 9 9 10 11 14 cwctype 7 8 7 9 10 14 ctype.h 7 8 7 7 9 14 ctime 8 8 8 9 10 14 cstring 7 8 7 9 10 14 cctype 7 8 7 9 10 14 wctype.h 7 8 7 7 9 13 uchar.h 6 8 7 7 9 13 stdint.h 7 7 7 8 9 13 stddef.h 6 7 7 7 7 13 locale.h 7 8 7 8 9 13 inttypes.h 7 8 7 8 9 13 fenv.h 7 8 7 9 9 13 execution - - - 282 377 13 errno.h 7 7 7 7 8 13 cuchar - - 8 10 11 13 csetjmp 7 8 7 9 9 13 climits 6 7 7 9 9 13 ciso646 6 7 7 8 9 13 cfenv 7 8 7 9 9 13 cerrno 7 8 7 9 9 13 cassert 7 8 7 8 9 13 assert.h 7 7 7 7 8 13 version - - - 9 8 12 stdbool.h 7 7 7 7 7 12 stdarg.h 6 7 7 7 7 12 stdalign.h 7 7 7 7 8 12 limits.h 6 8 7 7 9 12 float.h 6 7 7 7 7 12 cstdint 7 8 7 9 9 12 cstdbool 7 8 7 8 8 12 clocale 7 7 7 9 9 12 cinttypes 7 8 7 9 10 12 cfloat 6 7 7 8 9 12 stdnoreturn.h 6 7 6 7 7 11 setjmp.h 7 8 7 7 9 11 iso646.h 6 7 7 7 7 11 cstdarg 7 8 7 9 8 11 text_encoding - - - - - - stdfloat - - - - 9 - stacktrace - - - - 217 - spanstream - - - - 193 - rcu - - - - - - linalg - - - - - - hazard_pointer - - - - - - generator - - - - - - flat_set - - - - - - flat_map - - - - - - debugging - - - - - - cstdatomic - - - - - - cstdalign 7 8 7 8 9 -