diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2024-01-12 22:18:52 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2024-01-12 22:18:52 -0800 |
| commit | fd9d1b1d4db611f4298b67bc550d43d7b14f89b2 (patch) | |
| tree | 692fdba6b6f889c7b87066775e4cdaeb59f12930 | |
| parent | 4d7ec58ecd17483f12447bea502757891270d55f (diff) | |
| download | editor-fd9d1b1d4db611f4298b67bc550d43d7b14f89b2.tar.zst | |
Increase the size of the concat benchmark.
| -rw-r--r-- | benches/concat.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/concat.rs b/benches/concat.rs index 0b31ebb..73b8eba 100644 --- a/benches/concat.rs +++ b/benches/concat.rs @@ -11,7 +11,7 @@ fn concat(buf: &[u8]) -> Rope { } fn criterion_benchmark(c: &mut Criterion) { - let bytes = vec![0; 1000]; + let bytes = vec![0; 100000]; c.bench_function("concat asdfasdf", |b| b.iter(|| concat(black_box(&bytes)))); } |
