diff --git a/bench-cargo-miri/invalidate/Cargo.lock b/bench-cargo-miri/range-iteration/Cargo.lock similarity index 84% rename from bench-cargo-miri/invalidate/Cargo.lock rename to bench-cargo-miri/range-iteration/Cargo.lock index 7bf23225ea..2a5f8f3225 100644 --- a/bench-cargo-miri/invalidate/Cargo.lock +++ b/bench-cargo-miri/range-iteration/Cargo.lock @@ -3,5 +3,5 @@ version = 3 [[package]] -name = "invalidate" +name = "range-iteration" version = "0.1.0" diff --git a/bench-cargo-miri/invalidate/Cargo.toml b/bench-cargo-miri/range-iteration/Cargo.toml similarity index 86% rename from bench-cargo-miri/invalidate/Cargo.toml rename to bench-cargo-miri/range-iteration/Cargo.toml index 14cf0882f0..3f0146f625 100644 --- a/bench-cargo-miri/invalidate/Cargo.toml +++ b/bench-cargo-miri/range-iteration/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "invalidate" +name = "range-iteration" version = "0.1.0" edition = "2021" diff --git a/bench-cargo-miri/invalidate/src/main.rs b/bench-cargo-miri/range-iteration/src/main.rs similarity index 52% rename from bench-cargo-miri/invalidate/src/main.rs rename to bench-cargo-miri/range-iteration/src/main.rs index fa8deb851c..1ef35ee6b3 100644 --- a/bench-cargo-miri/invalidate/src/main.rs +++ b/bench-cargo-miri/range-iteration/src/main.rs @@ -1,4 +1,5 @@ +//! This generates a lot of work for the AllocId part of the GC. fn main() { // The end of the range is just chosen to make the benchmark run for a few seconds. - for _ in 0..200_000 {} + for _ in 0..50_000 {} }