Skip to content

Commit 3dcb2fe

Browse files
committed
Bump benchmark iteration count
1 parent 05fb118 commit 3dcb2fe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

benches/bench-libproc-macro/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Example output:
44
$ cargo check --release
55

66
Compiling bench-libproc-macro v0.0.0
7-
STRING: 15 millis
8-
TOKENSTREAM: 97 millis
9-
Finished release [optimized] target(s) in 1.06s
7+
STRING: 37 millis
8+
TOKENSTREAM: 276 millis
9+
Finished release [optimized] target(s) in 1.16s
1010
```

benches/bench-libproc-macro/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use proc_macro::{Ident, Punct, Spacing, Span, TokenStream, TokenTree};
44
use std::iter::once;
55
use std::time::Instant;
66

7-
const N: u32 = 7000;
7+
const N: u32 = 20000;
88

99
#[proc_macro]
1010
pub fn bench(_input: TokenStream) -> TokenStream {

0 commit comments

Comments
 (0)