Commit Graph

6 Commits

Author SHA1 Message Date
Greg Fitzgerald
28af9a39b4 Don't clone before borrowing
Clippy told us to change function parameters to references, but
wasn't able to then tell us that the clone() before borrowing
was superfluous. This patch removes those by hand.

No expectation of a performance improvement here, since we were
just cloning reference counts. Just removes a bunch of noise.
2018-07-18 08:04:31 -04:00
Greg Fitzgerald
a3b22d0d33 Faster benchmarking for CI
Increase that sample size manually when you're doing performance
work.
2018-07-13 14:03:50 -06:00
Greg Fitzgerald
0c6d2ef1f4 Fix typo 2018-07-10 19:38:29 -06:00
Greg Fitzgerald
d2be79f38c Use iter_with_setup() to improve precision 2018-07-10 19:38:29 -06:00
Greg Fitzgerald
cc89801b12 Port bank benchmark to Criterion 2018-07-10 19:38:29 -06:00
Greg Fitzgerald
dfa05a8742 Move bank benchmark outside src
This will make it available to third party benchmarking tools.
2018-07-10 19:38:29 -06:00