remove debug logging for project_search semantic search

This commit is contained in:
KCaverly 2023-07-26 16:51:25 -04:00
parent 98fde36834
commit 89bbcdfa4f

View file

@ -193,7 +193,6 @@ impl ProjectSearch {
exclude_files: Vec<GlobMatcher>,
cx: &mut ModelContext<Self>,
) {
let t0 = Instant::now();
let search = SemanticIndex::global(cx).map(|index| {
index.update(cx, |semantic_index, cx| {
semantic_index.search_project(
@ -210,7 +209,6 @@ impl ProjectSearch {
self.match_ranges.clear();
self.pending_search = Some(cx.spawn(|this, mut cx| async move {
let results = search?.await.log_err()?;
log::trace!("semantic search elapsed: {:?}", t0.elapsed().as_millis());
let (_task, mut match_ranges) = this.update(&mut cx, |this, cx| {
this.excerpts.update(cx, |excerpts, cx| {