diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-09-18 14:45:52 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-09-18 14:45:52 +0200 |
| commit | 2cd8ccbea17524d563a2120964ff5fe42dfba61b (patch) | |
| tree | a8797d519ca112c2f8955a6da404046316ddaf6c /example | |
| parent | 552991e17e34ec971631e8dffdfb4a84c8d69eda (diff) | |
| download | rust-2cd8ccbea17524d563a2120964ff5fe42dfba61b.tar.gz rust-2cd8ccbea17524d563a2120964ff5fe42dfba61b.zip | |
Don't benchmark mod_bench anymore
Diffstat (limited to 'example')
| -rw-r--r-- | example/mod_bench.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/mod_bench.rs b/example/mod_bench.rs index 95bcad2cd17..bc652213623 100644 --- a/example/mod_bench.rs +++ b/example/mod_bench.rs @@ -20,7 +20,7 @@ unsafe extern "C" fn _Unwind_Resume() { #[start] fn main(_argc: isize, _argv: *const *const u8) -> isize { - for i in 2..100_000_000 { + for i in 2..10_000_000 { black_box((i + 1) % i); } |
