mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-29 14:25:45 +03:00
branch-listing benchmarks now work again
They type system is more strict now, rejecting an invalid branch name outright.
This commit is contained in:
parent
107eea6743
commit
b92407a5df
@ -45,7 +45,7 @@ pub fn benchmark_list_branches(c: &mut Criterion) {
|
||||
b.iter(|| list_branches(black_box(&ctx), None, None))
|
||||
})
|
||||
.bench_function("name-filter rejecting all", |b| {
|
||||
b.iter(|| list_branches(black_box(&ctx), None, Some(vec!["not available".into()])))
|
||||
b.iter(|| list_branches(black_box(&ctx), None, Some(vec!["not-available".into()])))
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user