Skip to content

Instantly share code, notes, and snippets.

@gnzlbg
Created November 16, 2017 19:21
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 gnzlbg/c96ddf4b89e4cebc7f7f49b87ac80f21 to your computer and use it in GitHub Desktop.
Save gnzlbg/c96ddf4b89e4cebc7f7f49b87ac80f21 to your computer and use it in GitHub Desktop.
benchmark mallocx, smallocx, nallocx, flags = 0
test rt_even_1000000bytes_mallocx ... bench: 211 ns/iter (+/- 169)
test rt_even_1000000bytes_nallocx ... bench: 219 ns/iter (+/- 109)
test rt_even_1000000bytes_smallocx ... bench: 212 ns/iter (+/- 54)
test rt_even_100000bytes_mallocx ... bench: 235 ns/iter (+/- 47)
test rt_even_100000bytes_nallocx ... bench: 224 ns/iter (+/- 155)
test rt_even_100000bytes_smallocx ... bench: 233 ns/iter (+/- 170)
test rt_even_10000bytes_mallocx ... bench: 28 ns/iter (+/- 4)
test rt_even_10000bytes_nallocx ... bench: 35 ns/iter (+/- 26)
test rt_even_10000bytes_smallocx ... bench: 29 ns/iter (+/- 19)
test rt_even_1000bytes_mallocx ... bench: 23 ns/iter (+/- 14)
test rt_even_1000bytes_nallocx ... bench: 30 ns/iter (+/- 16)
test rt_even_1000bytes_smallocx ... bench: 24 ns/iter (+/- 15)
test rt_even_100bytes_mallocx ... bench: 23 ns/iter (+/- 7)
test rt_even_100bytes_nallocx ... bench: 30 ns/iter (+/- 34)
test rt_even_100bytes_smallocx ... bench: 24 ns/iter (+/- 12)
test rt_even_24bytes_mallocx ... bench: 25 ns/iter (+/- 4)
test rt_even_24bytes_nallocx ... bench: 30 ns/iter (+/- 18)
test rt_even_24bytes_smallocx ... bench: 24 ns/iter (+/- 15)
test rt_odd_1000000bytes_mallocx ... bench: 218 ns/iter (+/- 151)
test rt_odd_1000000bytes_nallocx ... bench: 241 ns/iter (+/- 31)
test rt_odd_1000000bytes_smallocx ... bench: 214 ns/iter (+/- 111)
test rt_odd_100000bytes_mallocx ... bench: 217 ns/iter (+/- 118)
test rt_odd_100000bytes_nallocx ... bench: 223 ns/iter (+/- 37)
test rt_odd_100000bytes_smallocx ... bench: 218 ns/iter (+/- 142)
test rt_odd_10000bytes_mallocx ... bench: 28 ns/iter (+/- 19)
test rt_odd_10000bytes_nallocx ... bench: 35 ns/iter (+/- 20)
test rt_odd_10000bytes_smallocx ... bench: 32 ns/iter (+/- 18)
test rt_odd_1000bytes_mallocx ... bench: 23 ns/iter (+/- 8)
test rt_odd_1000bytes_nallocx ... bench: 29 ns/iter (+/- 24)
test rt_odd_1000bytes_smallocx ... bench: 24 ns/iter (+/- 19)
test rt_odd_100bytes_mallocx ... bench: 23 ns/iter (+/- 4)
test rt_odd_100bytes_nallocx ... bench: 30 ns/iter (+/- 21)
test rt_odd_100bytes_smallocx ... bench: 24 ns/iter (+/- 5)
test rt_odd_24bytes_mallocx ... bench: 23 ns/iter (+/- 19)
test rt_odd_24bytes_nallocx ... bench: 29 ns/iter (+/- 5)
test rt_odd_24bytes_smallocx ... bench: 24 ns/iter (+/- 10)
test rt_pow2_1024bytes_mallocx ... bench: 23 ns/iter (+/- 16)
test rt_pow2_1024bytes_nallocx ... bench: 29 ns/iter (+/- 19)
test rt_pow2_1024bytes_smallocx ... bench: 24 ns/iter (+/- 17)
test rt_pow2_128bytes_mallocx ... bench: 23 ns/iter (+/- 14)
test rt_pow2_128bytes_nallocx ... bench: 29 ns/iter (+/- 20)
test rt_pow2_128bytes_smallocx ... bench: 24 ns/iter (+/- 14)
test rt_pow2_131072bytes_mallocx ... bench: 242 ns/iter (+/- 152)
test rt_pow2_131072bytes_nallocx ... bench: 225 ns/iter (+/- 138)
test rt_pow2_131072bytes_smallocx ... bench: 228 ns/iter (+/- 133)
test rt_pow2_16384bytes_mallocx ... bench: 29 ns/iter (+/- 15)
test rt_pow2_16384bytes_nallocx ... bench: 36 ns/iter (+/- 26)
test rt_pow2_16384bytes_smallocx ... bench: 30 ns/iter (+/- 22)
test rt_pow2_16bytes_mallocx ... bench: 23 ns/iter (+/- 18)
test rt_pow2_16bytes_nallocx ... bench: 30 ns/iter (+/- 17)
test rt_pow2_16bytes_smallocx ... bench: 24 ns/iter (+/- 14)
test rt_pow2_1bytes_mallocx ... bench: 23 ns/iter (+/- 12)
test rt_pow2_1bytes_nallocx ... bench: 30 ns/iter (+/- 22)
test rt_pow2_1bytes_smallocx ... bench: 24 ns/iter (+/- 13)
test rt_pow2_2048bytes_mallocx ... bench: 24 ns/iter (+/- 20)
test rt_pow2_2048bytes_nallocx ... bench: 29 ns/iter (+/- 9)
test rt_pow2_2048bytes_smallocx ... bench: 24 ns/iter (+/- 15)
test rt_pow2_256bytes_mallocx ... bench: 23 ns/iter (+/- 14)
test rt_pow2_256bytes_nallocx ... bench: 30 ns/iter (+/- 25)
test rt_pow2_256bytes_smallocx ... bench: 24 ns/iter (+/- 9)
test rt_pow2_2bytes_mallocx ... bench: 24 ns/iter (+/- 16)
test rt_pow2_2bytes_nallocx ... bench: 30 ns/iter (+/- 24)
test rt_pow2_2bytes_smallocx ... bench: 24 ns/iter (+/- 16)
test rt_pow2_32768bytes_mallocx ... bench: 29 ns/iter (+/- 15)
test rt_pow2_32768bytes_nallocx ... bench: 36 ns/iter (+/- 12)
test rt_pow2_32768bytes_smallocx ... bench: 33 ns/iter (+/- 4)
test rt_pow2_32bytes_mallocx ... bench: 25 ns/iter (+/- 16)
test rt_pow2_32bytes_nallocx ... bench: 30 ns/iter (+/- 25)
test rt_pow2_32bytes_smallocx ... bench: 26 ns/iter (+/- 14)
test rt_pow2_4096bytes_mallocx ... bench: 23 ns/iter (+/- 19)
test rt_pow2_4096bytes_nallocx ... bench: 29 ns/iter (+/- 10)
test rt_pow2_4096bytes_smallocx ... bench: 24 ns/iter (+/- 8)
test rt_pow2_4194304bytes_mallocx ... bench: 240 ns/iter (+/- 174)
test rt_pow2_4194304bytes_nallocx ... bench: 225 ns/iter (+/- 128)
test rt_pow2_4194304bytes_smallocx ... bench: 210 ns/iter (+/- 50)
test rt_pow2_4bytes_mallocx ... bench: 23 ns/iter (+/- 7)
test rt_pow2_4bytes_nallocx ... bench: 29 ns/iter (+/- 14)
test rt_pow2_4bytes_smallocx ... bench: 24 ns/iter (+/- 9)
test rt_pow2_512bytes_mallocx ... bench: 23 ns/iter (+/- 14)
test rt_pow2_512bytes_nallocx ... bench: 30 ns/iter (+/- 17)
test rt_pow2_512bytes_smallocx ... bench: 24 ns/iter (+/- 13)
test rt_pow2_64bytes_mallocx ... bench: 23 ns/iter (+/- 12)
test rt_pow2_64bytes_nallocx ... bench: 29 ns/iter (+/- 24)
test rt_pow2_64bytes_smallocx ... bench: 24 ns/iter (+/- 12)
test rt_pow2_65536bytes_mallocx ... bench: 214 ns/iter (+/- 106)
test rt_pow2_65536bytes_nallocx ... bench: 229 ns/iter (+/- 90)
test rt_pow2_65536bytes_smallocx ... bench: 214 ns/iter (+/- 152)
test rt_pow2_8192bytes_mallocx ... bench: 31 ns/iter (+/- 5)
test rt_pow2_8192bytes_nallocx ... bench: 36 ns/iter (+/- 26)
test rt_pow2_8192bytes_smallocx ... bench: 30 ns/iter (+/- 7)
test rt_pow2_8bytes_mallocx ... bench: 23 ns/iter (+/- 21)
test rt_pow2_8bytes_nallocx ... bench: 30 ns/iter (+/- 16)
test rt_pow2_8bytes_smallocx ... bench: 24 ns/iter (+/- 11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment