diff options
| author | Filippo Valsorda <filippo@golang.org> | 2018-09-06 13:19:11 -0400 |
|---|---|---|
| committer | Filippo Valsorda <filippo@golang.org> | 2018-09-07 17:32:15 +0000 |
| commit | 693875e3f2f814d65bfbb89271d9d880f0ea83a3 (patch) | |
| tree | bf6c072d341aef5b00132e22afc1aead25cee15d /src/database/sql/driver/driver.go | |
| parent | 4d1aa482b8754c081d8f3f6b39fe61dd2e6504fc (diff) | |
| download | go-693875e3f2f814d65bfbb89271d9d880f0ea83a3.tar.xz | |
[dev.boringcrypto] crypto/internal/boring: avoid an allocation in AES-GCM Seal and Open
name old time/op new time/op delta
AESGCMSeal1K-8 668ns ± 1% 643ns ± 1% -3.74% (p=0.008 n=5+5)
AESGCMOpen1K-8 664ns ± 2% 640ns ± 2% -3.59% (p=0.016 n=5+5)
AESGCMSign8K-8 1.44µs ± 1% 1.41µs ± 2% ~ (p=0.087 n=5+5)
AESGCMSeal8K-8 3.32µs ± 1% 3.31µs ± 2% ~ (p=0.690 n=5+5)
AESGCMOpen8K-8 3.34µs ± 2% 3.27µs ± 2% -2.07% (p=0.032 n=5+5)
name old speed new speed delta
AESGCMSeal1K-8 1.53GB/s ± 1% 1.59GB/s ± 1% +3.90% (p=0.008 n=5+5)
AESGCMOpen1K-8 1.54GB/s ± 2% 1.60GB/s ± 2% +3.71% (p=0.016 n=5+5)
AESGCMSign8K-8 5.67GB/s ± 2% 5.79GB/s ± 2% ~ (p=0.095 n=5+5)
AESGCMSeal8K-8 2.47GB/s ± 1% 2.47GB/s ± 2% ~ (p=0.690 n=5+5)
AESGCMOpen8K-8 2.45GB/s ± 2% 2.50GB/s ± 2% +2.11% (p=0.032 n=5+5)
name old alloc/op new alloc/op delta
AESGCMSeal1K-8 8.00B ± 0% 0.00B -100.00% (p=0.008 n=5+5)
AESGCMOpen1K-8 8.00B ± 0% 0.00B -100.00% (p=0.008 n=5+5)
AESGCMSign8K-8 8.00B ± 0% 0.00B -100.00% (p=0.008 n=5+5)
AESGCMSeal8K-8 8.00B ± 0% 0.00B -100.00% (p=0.008 n=5+5)
AESGCMOpen8K-8 8.00B ± 0% 0.00B -100.00% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
AESGCMSeal1K-8 1.00 ± 0% 0.00 -100.00% (p=0.008 n=5+5)
AESGCMOpen1K-8 1.00 ± 0% 0.00 -100.00% (p=0.008 n=5+5)
AESGCMSign8K-8 1.00 ± 0% 0.00 -100.00% (p=0.008 n=5+5)
AESGCMSeal8K-8 1.00 ± 0% 0.00 -100.00% (p=0.008 n=5+5)
AESGCMOpen8K-8 1.00 ± 0% 0.00 -100.00% (p=0.008 n=5+5)
Change-Id: Ie2de0ad6b2f59b33af267b4e04aa6dff97b4ab75
Reviewed-on: https://go-review.googlesource.com/133836
Run-TryBot: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/database/sql/driver/driver.go')
0 files changed, 0 insertions, 0 deletions
