aboutsummaryrefslogtreecommitdiff
path: root/std/hash/benchmark.zig
AgeCommit message (Collapse)Author
2019-09-25mv std/ lib/Andrew Kelley
that's all this commit does. further commits will fix cli flags and such. see #2221
2019-08-27Simplify wyhash and improve speedMarc Tiehuis
This removes the exposed stateless variant since the standard variant has similar speed now. Using `./benchmark --filter wyhash --count 1024`, the speed change has changed from: wyhash iterative: 4093 MiB/s [6f76b0d5db7db34c] small keys: 3132 MiB/s [28c2f43c70000000] to wyhash iterative: 6515 MiB/s [673e9bb86da93ea4] small keys: 10487 MiB/s [28c2f43c70000000]
2019-08-24wyhash: readd the stateful streaming version so that both are availableSahnvour
and rename the stateless one so that's it is not the default option
2019-08-24std/hash: Revert crc32 api changeMarc Tiehuis
This is user specified and the user doesn't necessarily have to use one of the provided polynomials declared hence we can't use an enum. Thanks @daurnimator for catching this.
2019-08-21Add iterative-only filter to hash benchmarkMarc Tiehuis
2019-08-21Add more hash functions to benchmark scriptsMarc Tiehuis
Changed CRC api so the polynomial is specified as an enum for simpler construction.
2019-08-21Update hash/crypto benchmark scriptsMarc Tiehuis