aboutsummaryrefslogtreecommitdiff
path: root/benches
Commit message (Collapse)AuthorAgeFilesLines
* Change HMAC benchmark.Andreas Grois2023-01-201-29/+9
| | | | | This version gives more attention to the relevant details, namely how HMAC performs under different key lengths.
* Add benchmark for HMAC code.Andreas Grois2023-01-201-0/+73
| | | | | Also, simplify the function a bit. It's faster this way, even though there's an additional unconditional collect() call now.
* Fix benchmark errors.Andreas Grois2022-10-232-6/+6
| | | | | 20 bytes worst case was using 16 bytes. 32 bytes full division was producing a leading zero.
* Increase duration and sample count for benchmarks.Andreas Grois2022-10-223-6/+19
|
* Group Benchmarks, and make parameters more sane.Andreas Grois2022-10-206-202/+315
| | | | | | | | The previous parameters for benchmarks were based on gut-feeling. Now each hash-length has 3 benchmarks: - Typical is a typical user input - Max Divisions is a full generate_password_part run - Worst Case is the worst user input possible: Base 2.
* Make some asserts debug_asserts. Add more benches.Andreas Grois2022-10-191-5/+70
| | | | | Now that work on performance has started, accurate readings are important.
* Add simple benchmarks.Andreas Grois2022-10-131-0/+137
As preparation for an eventual rewrite of the base conversion code.