Commit Graph

9 Commits

Author SHA1 Message Date
Vincent Batts f99036b306 benchmark: and compare sha256 as well
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-10-19 15:03:05 -04:00
Vincent Batts b27e4f14d1 benchmark: compare sha1 and sha512 hashing
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-10-19 15:00:48 -04:00
Vincent Batts a03956b35e stream_test: remove buffer use 2015-08-16 19:02:13 -04:00
Vincent Batts c5700a9f0d stream_test: shave 2sec off tests 2015-08-16 18:42:40 -04:00
Vincent Batts 08e311195d stream: adding a benchmark
Based on stdlib's `sha256`. Initial output:
BenchmarkHash8Bytes       100000             20387 ns/op           0.39 MB/s
BenchmarkHash1K    50000             25876 ns/op          39.57 MB/s
BenchmarkHash8K    50000             38836 ns/op         210.94 MB/s
2015-08-16 14:49:58 -04:00
Vincent Batts 71d35fdc80 stream: add a test for large chunks
checking 512*1024 byte chunks

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-04-09 14:37:39 -04:00
Vincent Batts bedd7a10ff stream: tests and fix for Reset() 2015-03-31 10:55:25 -04:00
Vincent Batts 257ed6dfad stream: Write() is mostly finished 2015-03-26 18:48:33 -04:00
Vincent Batts 68f4bcde5d stream: first chunk made into a node 2015-03-26 16:46:02 -04:00