Skip to content

Commit 69b25ac

Browse files
committed
feat: update chunking strategy to use characters and refresh benchmark results
1 parent c1e8b60 commit 69b25ac

File tree

3 files changed

+121
-121
lines changed

3 files changed

+121
-121
lines changed

kiru-core/benches/par_chunking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ fn benchmark_channel_size(c: &mut Criterion) {
211211
&sources,
212212
|b, sources| {
213213
b.iter(|| {
214-
let chunker = ChunkerBuilder::by_bytes(CHUNK_SIZE, OVERLAP).unwrap();
214+
let chunker = ChunkerBuilder::by_characters(CHUNK_SIZE, OVERLAP).unwrap();
215215
let iter = chunker
216216
.on_sources_par_stream(sources.clone(), channel_size)
217217
.unwrap();

0 commit comments

Comments
 (0)