diff options
| author | Jakob Unterwurzacher | 2021-09-07 12:34:47 +0200 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2021-09-07 18:14:05 +0200 | 
| commit | f89b14ee3dfa944e275961bf588d0e49500579c4 (patch) | |
| tree | 030ac167f35b07b3779ad8d79b77a9e29174099a /internal/speed | |
| parent | 6a0206897c83e1f3e4539d6a6c77149167f49626 (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')
0 files changed, 0 insertions, 0 deletions
