Skip to content

Instantly share code, notes, and snippets.

@brinchj
Created August 2, 2016 08:47
Show Gist options
  • Save brinchj/19b24ccdf34f07b7aaca22edf5e8dbfd to your computer and use it in GitHub Desktop.
Save brinchj/19b24ccdf34f07b7aaca22edf5e8dbfd to your computer and use it in GitHub Desktop.
> cargo benchcmp bench-old bench-new
name bench-old ns/iter bench-new ns/iter diff ns/iter diff %
crypto::auth::hmacsha256::bench_m::bench_auth 208,235 207,778 -457 -0.22%
crypto::auth::hmacsha256::bench_m::bench_verify 209,958 209,404 -554 -0.26%
crypto::auth::hmacsha512256::bench_m::bench_auth 220,250 218,981 -1,269 -0.58%
crypto::auth::hmacsha512256::bench_m::bench_verify 221,501 223,381 1,880 0.85%
crypto::auth::hmacsha512::bench_m::bench_auth 219,931 219,618 -313 -0.14%
crypto::auth::hmacsha512::bench_m::bench_verify 224,430 225,280 850 0.38%
crypto::box_::curve25519xsalsa20poly1305::bench::bench_precompute 6,209,422 6,206,357 -3,065 -0.05%
crypto::box_::curve25519xsalsa20poly1305::bench::bench_seal_open 6,415,908 6,362,695 -53,213 -0.83%
crypto::hash::sha256::bench_m::bench_hash 173,406 152,359 -21,047 -12.14%
crypto::hash::sha512::bench_m::bench_hash 158,172 132,818 -25,354 -16.03%
crypto::onetimeauth::poly1305::bench_m::bench_auth 28,637 25,331 -3,306 -11.54%
crypto::onetimeauth::poly1305::bench_m::bench_verify 29,281 25,882 -3,399 -11.61%
crypto::scalarmult::curve25519::bench::bench_scalarmult 250,577 221,297 -29,280 -11.69%
crypto::scalarmult::curve25519::bench::bench_scalarmult_base 251,373 222,122 -29,251 -11.64%
crypto::secretbox::xsalsa20poly1305::bench::bench_seal_open 243,849 144,757 -99,092 -40.64%
crypto::shorthash::siphash24::bench::bench_shorthash 12,098 10,715 -1,383 -11.43%
crypto::sign::ed25519::bench::bench_sign 2,748,270 2,734,800 -13,470 -0.49%
crypto::sign::ed25519::bench::bench_verify 7,741,291 6,835,499 -905,792 -11.70%
crypto::stream::aes128ctr::bench_m::bench_stream 1,918,102 1,820,182 -97,920 -5.11%
crypto::stream::chacha20::bench_m::bench_stream 115,447 102,601 -12,846 -11.13%
crypto::stream::salsa2012::bench_m::bench_stream 120,687 106,681 -14,006 -11.61%
crypto::stream::salsa208::bench_m::bench_stream 91,652 91,628 -24 -0.03%
crypto::stream::salsa20::bench_m::bench_stream 81,296 81,698 402 0.49%
crypto::stream::xsalsa20::bench_m::bench_stream 90,467 89,723 -744 -0.82%
> cargo benchcmp bench-old2 bench-new2
name bench-old2 ns/iter bench-new2 ns/iter diff ns/iter diff %
crypto::auth::hmacsha256::bench_m::bench_auth 208,538 208,546 8 0.00%
crypto::auth::hmacsha256::bench_m::bench_verify 210,170 209,682 -488 -0.23%
crypto::auth::hmacsha512256::bench_m::bench_auth 221,639 218,770 -2,869 -1.29%
crypto::auth::hmacsha512256::bench_m::bench_verify 223,555 221,532 -2,023 -0.90%
crypto::auth::hmacsha512::bench_m::bench_auth 219,812 218,795 -1,017 -0.46%
crypto::auth::hmacsha512::bench_m::bench_verify 225,180 223,889 -1,291 -0.57%
crypto::box_::curve25519xsalsa20poly1305::bench::bench_precompute 6,198,436 6,184,799 -13,637 -0.22%
crypto::box_::curve25519xsalsa20poly1305::bench::bench_seal_open 6,440,087 6,376,412 -63,675 -0.99%
crypto::hash::sha256::bench_m::bench_hash 152,731 152,513 -218 -0.14%
crypto::hash::sha512::bench_m::bench_hash 132,104 132,491 387 0.29%
crypto::onetimeauth::poly1305::bench_m::bench_auth 25,397 25,254 -143 -0.56%
crypto::onetimeauth::poly1305::bench_m::bench_verify 25,871 25,813 -58 -0.22%
crypto::scalarmult::curve25519::bench::bench_scalarmult 221,311 220,645 -666 -0.30%
crypto::scalarmult::curve25519::bench::bench_scalarmult_base 220,849 221,807 958 0.43%
crypto::secretbox::xsalsa20poly1305::bench::bench_seal_open 215,619 144,787 -70,832 -32.85%
crypto::shorthash::siphash24::bench::bench_shorthash 10,722 10,708 -14 -0.13%
crypto::sign::ed25519::bench::bench_sign 2,734,409 2,731,931 -2,478 -0.09%
crypto::sign::ed25519::bench::bench_verify 7,729,662 6,846,471 -883,191 -11.43%
crypto::stream::aes128ctr::bench_m::bench_stream 2,106,087 2,050,576 -55,511 -2.64%
crypto::stream::chacha20::bench_m::bench_stream 115,621 116,177 556 0.48%
crypto::stream::salsa2012::bench_m::bench_stream 120,026 120,639 613 0.51%
crypto::stream::salsa208::bench_m::bench_stream 91,622 104,383 12,761 13.93%
crypto::stream::salsa20::bench_m::bench_stream 81,694 93,505 11,811 14.46%
crypto::stream::xsalsa20::bench_m::bench_stream 89,903 89,670 -233 -0.26%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment