summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-10-14 08:31:27 +0000
committerLars Wirzenius <liw@liw.fi>2021-10-14 08:31:27 +0000
commit60cb5be04ecd313f4ea508f66951957d9644fa01 (patch)
tree0476596ab25071688c71d5f17d86d74951ad391f /src
parent3bf30d8b66bef6ad739a9dedff6ff73bde521866 (diff)
parent560b481f8edd11aaa012204e4798b9d549df685e (diff)
downloadobnam2-60cb5be04ecd313f4ea508f66951957d9644fa01.tar.gz
Merge branch 'bench' into 'main'
add a single-file benchmark Closes #96 See merge request obnam/obnam!187
Diffstat (limited to 'src')
-rw-r--r--src/index.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/index.rs b/src/index.rs
index 8cbe01e..5d31068 100644
--- a/src/index.rs
+++ b/src/index.rs
@@ -214,7 +214,6 @@ mod sql {
for meta in iter {
let meta = meta?;
if metas.is_empty() {
- eprintln!("lookup: meta={:?}", meta);
metas.push(meta);
} else {
let err = IndexError::DuplicateChunk(id.clone());
@@ -223,7 +222,6 @@ mod sql {
}
}
if metas.is_empty() {
- eprintln!("lookup: no hits");
return Err(IndexError::MissingChunk(id.clone()));
}
let r = metas[0].clone();