-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #122952 - RalfJung:miri, r=RalfJung
Miri subtree update r? `@ghost`
- Loading branch information
Showing
31 changed files
with
376 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
bench-cargo-miri/invalidate/Cargo.lock → bench-cargo-miri/range-iteration/Cargo.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
bench-cargo-miri/invalidate/Cargo.toml → bench-cargo-miri/range-iteration/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[package] | ||
name = "invalidate" | ||
name = "range-iteration" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
|
3 changes: 2 additions & 1 deletion
3
bench-cargo-miri/invalidate/src/main.rs → bench-cargo-miri/range-iteration/src/main.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ee03c286cfdca26fa5b2a4ee40957625d2c826ff | ||
c3b05c6e5b5b59613350b8c2875b0add67ed74df |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.