• Dmitry Chestnykh's avatar
    crypto/sha256, crypto/sha512: 1.3x speedup · b459afe8
    Dmitry Chestnykh authored
    SHA-256:
    
    benchmark          old ns/op    new ns/op    delta
    BenchmarkHash1K        21686        16912  -22.01%
    BenchmarkHash8K       173216       135020  -22.05%
    
    benchmark           old MB/s     new MB/s  speedup
    BenchmarkHash1K        47.22        60.55    1.28x
    BenchmarkHash8K        47.29        60.67    1.28x
    
    SHA-512:
    
    benchmark          old ns/op    new ns/op    delta
    BenchmarkHash1K        14323        11163  -22.06%
    BenchmarkHash8K       114120        88693  -22.28%
    
    benchmark           old MB/s     new MB/s  speedup
    BenchmarkHash1K        71.49        91.73    1.28x
    BenchmarkHash8K        71.78        92.36    1.29x
    
    R=golang-dev, agl
    CC=golang-dev
    https://golang.org/cl/6584071
    b459afe8
Name
Last commit
Last update
..
aes Loading commit data...
cipher Loading commit data...
des Loading commit data...
dsa Loading commit data...
ecdsa Loading commit data...
elliptic Loading commit data...
hmac Loading commit data...
md5 Loading commit data...
rand Loading commit data...
rc4 Loading commit data...
rsa Loading commit data...
sha1 Loading commit data...
sha256 Loading commit data...
sha512 Loading commit data...
subtle Loading commit data...
tls Loading commit data...
x509 Loading commit data...
crypto.go Loading commit data...