aboutsummaryrefslogtreecommitdiff
path: root/cryptfs/intrablock.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-11-14 16:40:05 +0100
committerJakob Unterwurzacher2015-11-14 16:49:59 +0100
commitf9c21e91aab4799425b25f5fb876c9d95865d9dc (patch)
tree7c76f56355a33aa9c0ddceea4fa0e89ad7126c16 /cryptfs/intrablock.go
parent2e3388800d028fee3e2b9cf6cfca2c878b7e6327 (diff)
tests: Add file create benchmarks for different sizes
Example output on my machine: ~/src/github.com/rfjakob/gocryptfs$ ./benchmark.bash gocryptfs v0.3.1-25-g2e33888-dirty; on-disk format 2 PASS BenchmarkStreamWrite-2 100 12189867 ns/op 86.02 MB/s BenchmarkStreamRead-2 200 9113262 ns/op 115.06 MB/s BenchmarkCreate0B-2 10000 100249 ns/op BenchmarkCreate1B-2 10000 177680 ns/op 0.01 MB/s BenchmarkCreate100B-2 3000 431586 ns/op 0.23 MB/s BenchmarkCreate4kB-2 3000 455204 ns/op 9.00 MB/s BenchmarkCreate10kB-2 3000 594044 ns/op 17.24 MB/s ok github.com/rfjakob/gocryptfs/integration_tests 15.176s
Diffstat (limited to 'cryptfs/intrablock.go')
0 files changed, 0 insertions, 0 deletions