about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-09-18 14:45:52 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2020-09-18 14:45:52 +0200
commit2cd8ccbea17524d563a2120964ff5fe42dfba61b (patch)
treea8797d519ca112c2f8955a6da404046316ddaf6c /example
parent552991e17e34ec971631e8dffdfb4a84c8d69eda (diff)
downloadrust-2cd8ccbea17524d563a2120964ff5fe42dfba61b.tar.gz
rust-2cd8ccbea17524d563a2120964ff5fe42dfba61b.zip
Don't benchmark mod_bench anymore
Diffstat (limited to 'example')
-rw-r--r--example/mod_bench.rs2
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);
     }