summaryrefslogtreecommitdiff
path: root/internal/speed/speed.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-09-07 12:34:47 +0200
committerJakob Unterwurzacher2021-09-07 18:14:05 +0200
commitf89b14ee3dfa944e275961bf588d0e49500579c4 (patch)
tree030ac167f35b07b3779ad8d79b77a9e29174099a /internal/speed/speed.go
parent6a0206897c83e1f3e4539d6a6c77149167f49626 (diff)
stupidgcm: cache C.EVP_chacha20_poly1305()
2% performance improvement, almost for free. gocryptfs/internal/speed$ benchstat old new name old time/op new time/op delta StupidXchacha-4 5.82µs ± 0% 5.68µs ± 0% -2.37% (p=0.008 n=5+5) name old speed new speed delta StupidXchacha-4 704MB/s ± 0% 721MB/s ± 0% +2.43% (p=0.008 n=5+5)
Diffstat (limited to 'internal/speed/speed.go')
0 files changed, 0 insertions, 0 deletions