Skip to content

Commit c37ca78

Browse files
committed
Add one more profiling span to add_dep
1 parent 6b187af commit c37ca78

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)