513a35b503
Change-Id: Iae2ce3783bc2632b265641e286b4145373c7a226 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8478 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
10 lines
No EOL
166 B
Text
10 lines
No EOL
166 B
Text
# -*- mode: snippet -*-
|
|
# name: benchmark
|
|
# uuid: benchmark
|
|
# key: bench
|
|
# condition: t
|
|
# --
|
|
#[bench]
|
|
fn ${1:benchmark_name}(b: &mut Bencher) {
|
|
`%`b.iter(|| $0);
|
|
} |