Commit Graph

16 Commits

Author SHA1 Message Date
Bruce Mitchener
9042d1424c Use std::hint::black_box consistently.
This also removes the `#![feature(bench_black_box)]`. This was
stabilized in Rust 1.66 and anyone building benchmarks will be
on that or later (as they previously would have been on nightly).

This also allows building `cargo build --all-targets` on stable
Rust as it no longer dies when hitting the feature addition in
the benchmarks.
2023-08-14 11:15:57 +07:00
Andreas Longva
6c8947ccc0 Replace slice->view in tests and benches 2022-11-14 15:16:23 +01:00
Vinzent Steinberg
4bc62bcddb Fix benchmarks 2021-04-29 20:26:17 -03:00
Crozet Sébastien
b8811d3545 Fix compilation of benchmarks 2021-04-12 10:52:17 +02:00
Crozet Sébastien
24d546d3b6 Rename generic parameter N -> T 2021-04-11 13:57:54 +02:00
Remco Bloemen
2bce1c31a6 Bench iter() and iter().rev() 2021-02-25 13:31:16 +01:00
sebcrozet
bbb3be512e Run cargo fmt. 2020-04-05 18:49:48 +02:00
Avi Weinstock
8404839233 Import IsaacRng from rand_isaac instead of rand.
The rand crate removed IsaacRng in the 0.5 -> 0.6 transition, so the benchmarks that use it haven't compiled since 9c37c51203.
2020-03-02 12:45:36 +01:00
sebcrozet
1e60bc822b Port all remaining benchmarks to criterion. 2019-03-23 19:59:14 +01:00
sebcrozet
6d76249d74 Start switching benchmarks to criterion. 2019-03-23 18:01:04 +01:00
sebcrozet
f36ff97d6a Fix deprecation warnings. 2018-12-29 13:19:09 +01:00
sebcrozet
14ad10a7e0 Add rustfmt.toml and run it. 2018-10-27 15:00:18 +02:00
Thomas Forgione
1f3bbce33c Bench closure should return the result 2018-06-16 14:27:55 +02:00
Thomas Forgione
b1616e236c Changed loops order in from_fn_generic 2018-06-16 14:27:55 +02:00
Sébastien Crozet
662cc9cd7f Run rust fmt. 2018-02-03 13:59:05 +01:00
Sébastien Crozet
3f70af97dd Add the most common matrix decompositions. 2017-08-15 19:07:18 +02:00