veyron/runtimes/google/ipc/stream/crypto/crypto_test.go: fix BenchmarkBoxRoundTrip

All previous BenchmarkBoxRoundTrip should be considered meaningless. New results:

BenchmarkTLSEncrypt_1B   1000000              1750 ns/op           0.57 MB/s
BenchmarkTLSEncrypt_1K    500000              5227 ns/op         195.89 MB/s
BenchmarkTLSEncrypt_10K    50000             36504 ns/op         280.52 MB/s
BenchmarkTLSEncrypt_1M       500           3689729 ns/op         284.19 MB/s
BenchmarkTLSEncrypt_5M       100          19214878 ns/op         272.86 MB/s
BenchmarkBoxEncrypt_1B   2000000               803 ns/op           1.24 MB/s
BenchmarkBoxEncrypt_1K   1000000              2778 ns/op         368.57 MB/s
BenchmarkBoxEncrypt_10K   100000             17983 ns/op         569.42 MB/s
BenchmarkBoxEncrypt_1M      1000           1750060 ns/op         599.17 MB/s
BenchmarkBoxEncrypt_5M       200           8774447 ns/op         597.52 MB/s
BenchmarkTLSRoundTrip_1B          500000              3891 ns/op           0.26 MB/s
BenchmarkTLSRoundTrip_1K          200000             11517 ns/op          88.91 MB/s
BenchmarkTLSRoundTrip_10K          20000             77442 ns/op         132.23 MB/s
BenchmarkTLSRoundTrip_1M             200           7544821 ns/op         138.98 MB/s
BenchmarkTLSRoundTrip_5M              50          39029581 ns/op         134.33 MB/s
BenchmarkBoxRoundTrip_1B         1000000              1581 ns/op           0.63 MB/s
BenchmarkBoxRoundTrip_1K          500000              5529 ns/op         185.19 MB/s
BenchmarkBoxRoundTrip_10K          50000             36000 ns/op         284.44 MB/s
BenchmarkBoxRoundTrip_1M             500           3502403 ns/op         299.39 MB/s
BenchmarkBoxRoundTrip_5M             100          17552803 ns/op         298.69 MB/s

Change-Id: Ie2576e116303be71e76b7053e7192aba39a0589a
1 file changed
tree: 023794cf7ea8a2c127925443e574dca9379ba614
  1. examples/
  2. lib/
  3. runtimes/
  4. security/
  5. services/
  6. tools/