rust/library/core/benches
Chai T. Rex 0cac915211 Improve `isqrt` tests and add benchmarks
* Choose test inputs more thoroughly and systematically.
* Check that `isqrt` and `checked_isqrt` have equivalent results for
  signed types, either equivalent numerically or equivalent as a panic
  and a `None`.
* Check that `isqrt` has numerically-equivalent results for unsigned
  types and their `NonZero` counterparts.
* Reuse `ilog10` benchmarks, plus benchmarks that use a uniform
  distribution.
2024-08-28 23:06:54 -04:00
..
ascii Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
char fix #107590, Fix benchmarks in library/core with black_box 2023-02-03 00:33:36 +08:00
hash Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
net Add benches for `net` parsing 2024-03-04 18:46:24 -05:00
num Improve `isqrt` tests and add benchmarks 2024-08-28 23:06:54 -04:00
str Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
any.rs Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
array.rs Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
ascii.rs Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
fmt.rs Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
iter.rs Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
lib.rs Improve `isqrt` tests and add benchmarks 2024-08-28 23:06:54 -04:00
ops.rs Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
pattern.rs Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
slice.rs Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
str.rs Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
tuple.rs Add a slightly-contrived tuple comparison benchmark 2023-02-17 11:46:19 -08:00