diff options
| author | bors <bors@rust-lang.org> | 2022-07-13 14:24:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-13 14:24:14 +0000 |
| commit | a45d6ef779c0828094e186aba8dfa9f056111e29 (patch) | |
| tree | 35adda3163efad0672449e5f5f4dc3081c16582c /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff | |
| parent | db5a2b97475166626e4c7680844f47f5347e9bc3 (diff) | |
| parent | 7d9f04f7a8b3ef3c0e00a50e58f86fa8d8cf34ea (diff) | |
| download | rust-a45d6ef779c0828094e186aba8dfa9f056111e29.tar.gz rust-a45d6ef779c0828094e186aba8dfa9f056111e29.zip | |
Auto merge of #2352 - saethlin:new-benchmark, r=RalfJung
Add a benchmark of the hang-on-test-failure code path This is the code pattern that produces the performance problem in https://github.com/rust-lang/miri/issues/2273 I figured out what I was stuck on in https://github.com/rust-lang/miri/pull/2315#discussion_r916387919. For a while I was just doing `let x: &[u8] = &[0u8; 4096];` but that doesn't produce the runtime inside `Stack::item_popped` that I was looking for, I think because this allocation is never deallocated. But with `Vec`, I get the profile I'm looking for.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
