Skip to content

Instantly share code, notes, and snippets.

@zid

zid/out.txt Secret

Created March 10, 2023 02:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zid/4d8d9cc8673f9d1a3ba1652fd4fc19b9 to your computer and use it in GitHub Desktop.
Save zid/4d8d9cc8673f9d1a3ba1652fd4fc19b9 to your computer and use it in GitHub Desktop.
2023-03-10T02:15:10+00:00
Running ./a.out
Run on (12 X 3800 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x12)
L1 Instruction 32 KiB (x12)
L2 Unified 512 KiB (x12)
L3 Unified 32768 KiB (x1)
Load Average: 0.13, 0.06, 0.06
--------------------------------------------------------------------------------------
Benchmark Time CPU Iterations UserCounters...
--------------------------------------------------------------------------------------
BM_string_erms/4 4.79 ns 4.79 ns 145764777 bytes_per_second=795.847M/s
BM_string_erms/8 4.81 ns 4.81 ns 127823568 bytes_per_second=1.54778G/s
BM_string_erms/16 4.75 ns 4.75 ns 140191167 bytes_per_second=3.13769G/s
BM_string_erms/32 5.45 ns 5.45 ns 100000000 bytes_per_second=5.46471G/s
BM_string_erms/64 4.80 ns 4.80 ns 145518284 bytes_per_second=12.423G/s
BM_string_erms/128 9.41 ns 9.41 ns 107314174 bytes_per_second=12.6715G/s
BM_string_erms/150 10.4 ns 10.4 ns 70160404 bytes_per_second=13.4218G/s
BM_string_erms/192 9.41 ns 9.41 ns 107214768 bytes_per_second=19.0126G/s
BM_string_erms/256 7.36 ns 7.36 ns 68787079 bytes_per_second=32.4156G/s
BM_string_erms/384 11.2 ns 11.2 ns 62516897 bytes_per_second=31.9787G/s
BM_string_erms/512 9.32 ns 9.32 ns 59194029 bytes_per_second=51.1874G/s
BM_string_erms/1024 14.6 ns 14.6 ns 41961244 bytes_per_second=65.2261G/s
BM_string_erms/8192 1837 ns 1837 ns 380748 bytes_per_second=4.15265G/s
BM_string_erms/16384 3828 ns 3828 ns 182932 bytes_per_second=3.98602G/s
BM_string_erms/32768 7321 ns 7321 ns 95327 bytes_per_second=4.16863G/s
BM_string_erms/65536 14623 ns 14623 ns 47601 bytes_per_second=4.1739G/s
BM_string_memcpy/4 2.53 ns 2.53 ns 276306689 bytes_per_second=1.47373G/s
BM_string_memcpy/8 2.74 ns 2.74 ns 255140756 bytes_per_second=2.72122G/s
BM_string_memcpy/16 2.11 ns 2.11 ns 331051731 bytes_per_second=7.05775G/s
BM_string_memcpy/32 2.11 ns 2.11 ns 331336705 bytes_per_second=14.1124G/s
BM_string_memcpy/64 2.54 ns 2.54 ns 275837821 bytes_per_second=23.4851G/s
BM_string_memcpy/128 2.54 ns 2.54 ns 275330032 bytes_per_second=46.9382G/s
BM_string_memcpy/150 4.24 ns 4.24 ns 150127965 bytes_per_second=32.9653G/s
BM_string_memcpy/192 3.40 ns 3.40 ns 193227164 bytes_per_second=52.6518G/s
BM_string_memcpy/256 3.83 ns 3.83 ns 182307476 bytes_per_second=62.2096G/s
BM_string_memcpy/384 5.34 ns 5.34 ns 131139104 bytes_per_second=67.0303G/s
BM_string_memcpy/512 7.01 ns 7.01 ns 99890607 bytes_per_second=68.0606G/s
BM_string_memcpy/1024 13.8 ns 13.8 ns 50848274 bytes_per_second=69.287G/s
BM_string_memcpy/8192 109 ns 109 ns 6443352 bytes_per_second=70.2465G/s
BM_string_memcpy/16384 217 ns 217 ns 3224569 bytes_per_second=70.2893G/s
BM_string_memcpy/32768 439 ns 439 ns 1595371 bytes_per_second=69.5719G/s
BM_string_memcpy/65536 875 ns 875 ns 799487 bytes_per_second=69.7541G/s
BM_string_our_memcpy/4 1.48 ns 1.48 ns 472967128 bytes_per_second=2.52039G/s
BM_string_our_memcpy/8 1.27 ns 1.27 ns 550900390 bytes_per_second=5.87155G/s
BM_string_our_memcpy/16 1.27 ns 1.27 ns 551225882 bytes_per_second=11.7406G/s
BM_string_our_memcpy/32 1.48 ns 1.48 ns 472688756 bytes_per_second=20.1286G/s
BM_string_our_memcpy/64 1.91 ns 1.91 ns 365238461 bytes_per_second=31.1511G/s
BM_string_our_memcpy/128 3.19 ns 3.19 ns 219085211 bytes_per_second=37.4021G/s
BM_string_our_memcpy/150 3.62 ns 3.62 ns 193469972 bytes_per_second=38.6094G/s
BM_string_our_memcpy/192 4.46 ns 4.46 ns 157088602 bytes_per_second=40.1247G/s
BM_string_our_memcpy/256 5.74 ns 5.74 ns 121969781 bytes_per_second=41.5681G/s
BM_string_our_memcpy/384 8.31 ns 8.31 ns 84283416 bytes_per_second=43.0314G/s
BM_string_our_memcpy/512 9.70 ns 9.70 ns 56182953 bytes_per_second=49.1485G/s
BM_string_our_memcpy/1024 14.6 ns 14.6 ns 41853224 bytes_per_second=65.2505G/s
BM_string_our_memcpy/8192 1838 ns 1838 ns 380877 bytes_per_second=4.15097G/s
BM_string_our_memcpy/16384 3820 ns 3820 ns 182812 bytes_per_second=3.99404G/s
BM_string_our_memcpy/32768 7327 ns 7327 ns 95215 bytes_per_second=4.16491G/s
BM_string_our_memcpy/65536 14631 ns 14631 ns 47769 bytes_per_second=4.17166G/s
BM_string_memmove/4 3.80 ns 3.80 ns 184052406 bytes_per_second=1004.05M/s
BM_string_memmove/8 3.77 ns 3.77 ns 185517621 bytes_per_second=1.97383G/s
BM_string_memmove/16 4.19 ns 4.19 ns 158900595 bytes_per_second=3.55527G/s
BM_string_memmove/32 4.40 ns 4.40 ns 158889951 bytes_per_second=6.77785G/s
BM_string_memmove/64 5.13 ns 5.13 ns 133059272 bytes_per_second=11.6155G/s
BM_string_memmove/128 5.91 ns 5.91 ns 118661996 bytes_per_second=20.1589G/s
BM_string_memmove/150 8.88 ns 8.88 ns 79624795 bytes_per_second=15.731G/s
BM_string_memmove/192 6.87 ns 6.87 ns 102702592 bytes_per_second=26.0324G/s
BM_string_memmove/256 7.03 ns 7.03 ns 98326291 bytes_per_second=33.9072G/s
BM_string_memmove/384 8.57 ns 8.57 ns 81598973 bytes_per_second=41.7314G/s
BM_string_memmove/512 8.72 ns 8.72 ns 80152681 bytes_per_second=54.6728G/s
BM_string_memmove/1024 15.3 ns 15.3 ns 45726592 bytes_per_second=62.3412G/s
BM_string_memmove/8192 110 ns 110 ns 6360508 bytes_per_second=69.2723G/s
BM_string_memmove/16384 218 ns 218 ns 3200768 bytes_per_second=69.836G/s
BM_string_memmove/32768 435 ns 435 ns 1606518 bytes_per_second=70.0821G/s
BM_string_memmove/65536 977 ns 977 ns 715713 bytes_per_second=62.4436G/s
BM_string_our_memmove/4 3.77 ns 3.77 ns 184632865 bytes_per_second=1012.25M/s
BM_string_our_memmove/8 3.95 ns 3.95 ns 177395988 bytes_per_second=1.88688G/s
BM_string_our_memmove/16 3.95 ns 3.95 ns 177518935 bytes_per_second=3.77619G/s
BM_string_our_memmove/32 4.63 ns 4.63 ns 151615952 bytes_per_second=6.43477G/s
BM_string_our_memmove/64 4.71 ns 4.70 ns 148605326 bytes_per_second=12.6684G/s
BM_string_our_memmove/128 4.99 ns 4.99 ns 138703310 bytes_per_second=23.8786G/s
BM_string_our_memmove/150 6.60 ns 6.60 ns 106330998 bytes_per_second=21.1737G/s
BM_string_our_memmove/192 4.85 ns 4.85 ns 138229408 bytes_per_second=36.8519G/s
BM_string_our_memmove/256 5.98 ns 5.98 ns 116492169 bytes_per_second=39.8775G/s
BM_string_our_memmove/384 8.50 ns 8.50 ns 81959254 bytes_per_second=42.0879G/s
BM_string_our_memmove/512 12.7 ns 12.7 ns 55114481 bytes_per_second=37.5916G/s
BM_string_our_memmove/1024 14.9 ns 14.9 ns 47067677 bytes_per_second=64.1611G/s
BM_string_our_memmove/8192 85.5 ns 85.5 ns 8168379 bytes_per_second=89.2734G/s
BM_string_our_memmove/16384 167 ns 167 ns 4184314 bytes_per_second=91.6297G/s
BM_string_our_memmove/32768 329 ns 329 ns 2127587 bytes_per_second=92.8943G/s
BM_string_our_memmove/65536 744 ns 744 ns 940451 bytes_per_second=81.9978G/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment