Skip to content

Commit 07fb65a

Browse files
bors[bot]lnicola
andauthored
Merge #8628
8628: minor: Add one more profiling span to add_dep r=lnicola a=lnicola CC #8623 bors r+ Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2 parents e529f73 + c37ca78 commit 07fb65a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/base_db/src/input.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ impl CrateGraph {
239239
name: CrateName,
240240
to: CrateId,
241241
) -> Result<(), CyclicDependenciesError> {
242+
let _p = profile::span("add_dep");
242243
if self.dfs_find(from, to, &mut FxHashSet::default()) {
243244
return Err(CyclicDependenciesError {
244245
from: (from, self[from].display_name.clone()),

0 commit comments

Comments
 (0)