mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-27 08:50:29 +00:00
remove debug logging for project_search semantic search
This commit is contained in:
parent
98fde36834
commit
89bbcdfa4f
1 changed files with 0 additions and 2 deletions
|
@ -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| {
|
||||
|
|
Loading…
Reference in a new issue