]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #66393 - ssomers:hash_benches, r=dtolnay
authorbors <bors@rust-lang.org>
Sun, 24 Nov 2019 10:52:12 +0000 (10:52 +0000)
committerbors <bors@rust-lang.org>
Sun, 24 Nov 2019 10:52:12 +0000 (10:52 +0000)
commitb56b23988de532744fd05301f87c329b612700e3
treea984f7a4ce51ccf1633473096635d2e71897ef94
parent7d761fe0462ba0f671a237d0bb35e3579b8ba0e8
parent4decb58a64fd3d0a0da5cbea4a77327996cbe44a
Auto merge of #66393 - ssomers:hash_benches, r=dtolnay

introduce benchmarks of HashSet operations

To avoid goofs such as corrected by #66280, I added benchmarks of binary HashSet operations.

Due to the fact x.py keeps recompiling the whole shebang (or at least a big part of it) whenever you touch the test code, and because piling up all tests in one file does not strike me as future proof, I tried moving the hash benches to the separate place they are for liballoc/collections/btree. But it turns out that, in a cleaned checkout, x.py still recompiles the whole shebang whenever you touch the test code (PS or when you add or delete any irrelevant file). So I'm not going to add more tests, and I doubt others will, and these tests have proven their point already, so this PR is kind of pointless