mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-04 00:48:12 +08:00
Cargo fmt
This commit is contained in:
@@ -10,7 +10,9 @@ fn compile_to_proto(c: &mut Criterion) {
|
||||
|
||||
for name in DEMO_ART {
|
||||
let network = load_from_name(name);
|
||||
c.bench_function(name, |b| b.iter_batched(|| network.clone(), |network| compile(black_box(network), registry), criterion::BatchSize::SmallInput));
|
||||
c.bench_function(name, |b| {
|
||||
b.iter_batched(|| network.clone(), |network| compile(black_box(network), registry), criterion::BatchSize::SmallInput)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user