Frank Denis b8729ca1a0 Improve crypto benchmarks
- 1MiB objects on the stack doesn't play well with wasmtime.
Reduce these to 512KiB so that the webassembly benchmarks can run.
- Pass expected results to a blackBox() function. Without this, in
release-fast mode, the compiler could detected unused return values,
and would produce results that didn't make sense for siphash.
- Add AEAD constructions to the benchmarks.
- Inline chacha20Core() makes it 4 times faster.
- benchmarkSignatures() -> benchmarkSignature() for consistency.
2020-08-26 10:50:34 +02:00
..
2020-08-26 10:50:34 +02:00
2020-08-24 02:28:31 +10:00
2020-08-25 19:49:40 -07:00
2020-08-22 03:20:12 -04:00
2020-08-20 16:07:04 -04:00
2020-08-22 12:45:29 -07:00
2020-08-24 02:28:31 +10:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-22 13:36:08 -07:00