Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Neal-liu/3398ea0ef4afc4587a58 to your computer and use it in GitHub Desktop.
Save Neal-liu/3398ea0ef4afc4587a58 to your computer and use it in GitHub Desktop.
All bionic benchmarks with standard diviation (including malloc)
iterations ns/op
BM_malloc_multi/512 4991405 659
BM_malloc_multi/1K 4991720 659
BM_malloc_multi/2K 4992590 660
BM_malloc_multi/4K 4991663 682
BM_malloc_multi/8K 4991799 672
BM_malloc_multi/16K 4991636 678
BM_malloc_multi/32K 4991498 690
BM_malloc_multi/64K 49197 30868
BM_malloc_multi/128K 48960 39878
BM_malloc_multi/256K 48827 45463
BM_malloc_multi/512K 48726 49215
BM_malloc_multi/1M 48629 53066
BM_malloc_multi/2M 48369 63386
BM_malloc_multi/4M 19245 73806
BM_malloc_multi/8M 19026 95205
BM_malloc_multi/16M 9297 138175
BM_malloc_multi/32M 8865 223739
BM_malloc_multi/64M 4844 396723
BM_malloc_multi/128M 4956 739054
BM_malloc_realloc/512 499757 2279
BM_malloc_realloc/1K 499785 2285
BM_malloc_realloc/2K 499765 2304
BM_malloc_realloc/4K 499773 2275
BM_malloc_realloc/8K 499776 2290
BM_malloc_realloc/16K 499749 2285
BM_malloc_realloc/32K 9935 129782
BM_malloc_realloc/64K 19908 87046
BM_malloc_realloc/128K 19898 94739
BM_malloc_realloc/256K 9940 110450
BM_malloc_realloc/512K 9924 147882
BM_malloc_realloc/1M 9873 225360
BM_malloc_realloc/2M 4910 363314
BM_malloc_realloc/4M 4877 474301
BM_malloc_realloc/8M 4821 678211
BM_malloc_realloc/16M 1890 1086376
BM_malloc_realloc/32M 996 1906855
BM_malloc_realloc/64M 496 3545845
BM_malloc_realloc/128M 472 6824107
BM_malloc_realloc/256M 100 13343641
BM_malloc_single/512 499815 2054
BM_malloc_single/1K 499779 2053
BM_malloc_single/2K 499792 2059
BM_malloc_single/4K 499795 2056
BM_malloc_single/8K 499796 2061
BM_malloc_single/16K 499775 2063
BM_malloc_single/32K 499786 2058
BM_malloc_single/64K 49872 49663
BM_malloc_single/128K 49873 50712
BM_malloc_single/256K 49865 51301
BM_malloc_single/512K 49860 53297
BM_malloc_single/1M 49854 56375
BM_malloc_single/2M 49820 69068
BM_malloc_single/4M 19917 78440
BM_malloc_single/8M 9950 98247
BM_malloc_single/16M 9928 137021
BM_malloc_single/32M 9891 215012
BM_malloc_single/64M 4902 370577
BM_malloc_single/128M 4828 681467
BM_malloc_single/256M 1859 1303799
BM_math_fpclassify_INFINITE 499836 1596
BM_math_fpclassify_NAN 999651 799
BM_math_fpclassify_NORMAL 1499486 532
BM_math_fpclassify_ZERO 1999323 399
BM_math_isinf_INFINITE 2499179 319
BM_math_isinf_NAN 2999021 266
BM_math_isinf_NORMAL 3498874 228
BM_math_isinf_ZERO 3998718 199
BM_math_log10 4498527 200
BM_math_logb 4998358 164
BM_math_sin_fast 5498173 168
BM_math_sin_fesetenv 5997958 181
BM_math_sin_feupdateenv 6497742 179
BM_math_sqrt 6997484 170
BM_property_find/1 7497275 154
BM_property_find/4 499765 2395
BM_property_find/16 499744 2467
BM_property_find/64 499743 2607
BM_property_find/128 499724 2725
BM_property_find/256 499726 2833
BM_property_find/512 499713 2965
BM_property_get/1 499744 2450
BM_property_get/4 499735 2523
BM_property_get/16 499664 2642
BM_property_get/64 499690 2787
BM_property_get/128 499654 2887
BM_property_get/256 499578 3031
BM_property_get/512 499656 3162
BM_property_read/1 499764 1691
BM_property_read/4 499828 1710
BM_property_read/16 499840 1720
BM_property_read/64 499752 1719
BM_property_read/128 499821 1745
BM_property_read/256 499773 1740
BM_property_read/512 499509 1745
BM_property_serial/1 499836 1587
BM_property_serial/4 499815 1586
BM_property_serial/16 499855 1585
BM_property_serial/64 499786 1579
BM_property_serial/128 499776 1583
BM_property_serial/256 499847 1588
BM_property_serial/512 499789 1588
BM_pthread_getspecific 499856 1586
BM_pthread_mutex_lock 999594 883
BM_pthread_mutex_lock_ERRORCHECK 1499422 594
BM_pthread_mutex_lock_RECURSIVE 1999228 445
BM_pthread_once 2499072 327
BM_pthread_self 2998889 267
BM_semaphore_sem_getvalue 3498728 226
BM_semaphore_sem_wait_sem_post 3998546 232
BM_stdio_fread/1 4498239 205 0.27 MiB/s
BM_stdio_fread/2 499593 1850 0.55 MiB/s
BM_stdio_fread/3 499508 1847 0.82 MiB/s
BM_stdio_fread/4 499520 1849 1.10 MiB/s
BM_stdio_fread/8 499504 1854 2.19 MiB/s
BM_stdio_fread/16 499626 1868 4.33 MiB/s
BM_stdio_fread/32 499722 1896 8.68 MiB/s
BM_stdio_fread/64 499757 1931 17.19 MiB/s
BM_stdio_fread/512 499736 2468 119.84 MiB/s
BM_stdio_fread/1K 499669 3130 206.47 MiB/s
BM_stdio_fread/4K 199727 6838 468.34 MiB/s
BM_stdio_fread/8K 199533 11525 605.48 MiB/s
BM_stdio_fread/16K 99582 20679 720.10 MiB/s
BM_stdio_fread/64K 19685 78000 814.94 MiB/s
BM_stdio_fwrite/1 499816 1858 0.27 MiB/s
BM_stdio_fwrite/2 499820 1858 0.55 MiB/s
BM_stdio_fwrite/3 499808 1856 0.82 MiB/s
BM_stdio_fwrite/4 499835 1858 1.10 MiB/s
BM_stdio_fwrite/8 499809 1859 2.19 MiB/s
BM_stdio_fwrite/16 499810 1855 4.37 MiB/s
BM_stdio_fwrite/32 499780 1859 8.75 MiB/s
BM_stdio_fwrite/64 499816 1847 17.56 MiB/s
BM_stdio_fwrite/512 499823 1857 140.11 MiB/s
BM_stdio_fwrite/1K 499796 1856 278.52 MiB/s
BM_stdio_fwrite/4K 499787 1853 1122.09 MiB/s
BM_stdio_fwrite/8K 499798 1859 2242.33 MiB/s
BM_stdio_fwrite/16K 499811 1860 4484.66 MiB/s
BM_stdio_fwrite/64K 499675 1860 17803.18 MiB/s
BM_string_memcmp/8 499830 1622 2.34 MiB/s
BM_string_memcmp/64 499842 1682 18.46 MiB/s
BM_string_memcmp/512 499732 2496 119.21 MiB/s
BM_string_memcmp/1K 499679 3405 196.69 MiB/s
BM_string_memcmp/8K 99657 16332 450.11 MiB/s
BM_string_memcmp/16K 49680 31213 493.86 MiB/s
BM_string_memcmp/32K 49379 60665 521.75 MiB/s
BM_string_memcmp/64K 9758 119657 536.86 MiB/s
BM_string_memcpy/8 499836 1609 2.36 MiB/s
BM_string_memcpy/64 499844 1618 18.78 MiB/s
BM_string_memcpy/512 499838 1707 146.79 MiB/s
BM_string_memcpy/1K 499812 1844 280.93 MiB/s
BM_string_memcpy/8K 499637 3238 1614.65 MiB/s
BM_string_memcpy/16K 499487 4898 2434.81 MiB/s
BM_string_memcpy/32K 199587 10343 2692.28 MiB/s
BM_string_memcpy/64K 99510 23824 2536.91 MiB/s
BM_string_memmove/8 499846 1638 2.33 MiB/s
BM_string_memmove/64 499824 1856 17.43 MiB/s
BM_string_memmove/512 499636 3535 95.87 MiB/s
BM_string_memmove/1K 499383 5454 140.44 MiB/s
BM_string_memmove/8K 49990 32499 237.83 MiB/s
BM_string_memmove/16K 49362 63100 251.13 MiB/s
BM_string_memmove/32K 9749 124656 257.85 MiB/s
BM_string_memmove/64K 9504 247591 261.50 MiB/s
BM_string_memset/8 499827 1585 2.37 MiB/s
BM_string_memset/64 499808 1612 18.55 MiB/s
BM_string_memset/512 499815 1659 148.03 MiB/s
BM_string_memset/1K 499976 1795 272.56 MiB/s
BM_string_memset/8K 499700 2943 1717.70 MiB/s
BM_string_memset/16K 199833 4341 2633.17 MiB/s
BM_string_memset/32K 199712 6893 3758.43 MiB/s
BM_string_memset/64K 99986 13497 4272.66 MiB/s
BM_string_strlen/8 499850 1598 2.35 MiB/s
BM_string_strlen/64 499834 1637 18.58 MiB/s
BM_string_strlen/512 499801 1979 135.46 MiB/s
BM_string_strlen/1K 499752 2259 251.91 MiB/s
BM_string_strlen/8K 199725 6753 956.19 MiB/s
BM_string_strlen/16K 199444 13080 1094.60 MiB/s
BM_string_strlen/32K 99533 22505 1342.45 MiB/s
BM_string_strlen/64K 49900 44231 1416.35 MiB/s
BM_time_clock_gettime 499690 3078
BM_time_clock_gettime_syscall 999343 1544
BM_time_gettimeofday 1498912 1024
BM_time_gettimeofday_syscall 1998733 790
BM_time_time 2498329 628
BM_unistd_getpid 2998159 267
BM_unistd_getpid_syscall 3497957 299
BM_unistd_gettid 3997780 201
BM_unistd_gettid_syscall 4497613 243
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment