diff options
author | Jakob Unterwurzacher | 2020-04-13 12:18:46 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-04-13 14:54:04 +0200 |
commit | 210db84e200671d6eee195f47eaf5c696cca089e (patch) | |
tree | 5edfe0882238fe4d91ece71ab8900038de6da5b9 | |
parent | 488111ce390218806fca933b89279b766f7ff49c (diff) |
speed: show gocryptfs version
Output now looks like this
$ gocryptfs -speed
gocryptfs v1.7.1-38-gbe3b9df-dirty; go-fuse v2.0.2-57-gd1cfa17; 2020-04-13 go1.13.6 linux/amd64
AES-GCM-256-OpenSSL 607.90 MB/s
AES-GCM-256-Go 920.75 MB/s (selected in auto mode)
AES-SIV-512-Go 169.85 MB/s
XChaCha20-Poly1305-Go 794.30 MB/s
and has go version and arch information, which is important
when comparing results.
-rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -170,6 +170,7 @@ func main() { } // "-speed" if args.speed { + printVersion() speed.Run() os.Exit(0) } |