Compare commits

...

2 Commits

Author SHA1 Message Date
Dmitriy Kovalenko 56450a0f81 chore: Update docs for - Add some debug metric
docs / docs (push) Has been cancelled
2026-05-06 17:08:14 +00:00
Dmitriy Kovalenko 4b54106da1 Add some debug metric 2026-05-06 10:07:53 -07:00
2 changed files with 15 additions and 1 deletions
+14
View File
@@ -541,6 +541,8 @@ fn match_and_score_in_arena<'a>(
},
};
let t0 = std::time::Instant::now();
let path_matches = match_fuzzy_parts(
fuzzy_parts,
&working_files,
@@ -549,6 +551,8 @@ fn match_and_score_in_arena<'a>(
arena,
);
let t1 = std::time::Instant::now();
let main_needle = fuzzy_parts[0].as_bytes(); // safe
let main_needle_len = main_needle.len() as u16;
@@ -772,6 +776,16 @@ fn match_and_score_in_arena<'a>(
})
.collect();
let t2 = std::time::Instant::now();
tracing::info!(
simd_match_ms = t1.duration_since(t0).as_millis(),
scoring_ms = t2.duration_since(t1).as_millis(),
path_matches_count = results.len(),
total_files = files.len(),
"score.rs phase breakdown"
);
results
}
+1 -1
View File
@@ -1,5 +1,5 @@
*fff.nvim.txt*
For Neovim >= 0.10.0 Last change: 2026 May 05
For Neovim >= 0.10.0 Last change: 2026 May 06
==============================================================================
Table of Contents *fff.nvim-table-of-contents*