a291c8690a
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
10 lines
No EOL
156 B
Text
10 lines
No EOL
156 B
Text
# -*- mode: snippet -*-
|
|
# name: benchmark
|
|
# uuid:
|
|
# key: bench
|
|
# condition: t
|
|
# --
|
|
#[bench]
|
|
fn ${1:benchmark_name}(b: &mut Bencher) {
|
|
`%`b.iter(|| $0);
|
|
} |