From c37ca7841cb42b659eb2ed4b2a095a283db5dce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Thu, 22 Apr 2021 21:48:17 +0300 Subject: Add one more profiling span to add_dep --- crates/base_db/src/input.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/base_db/src') diff --git a/crates/base_db/src/input.rs b/crates/base_db/src/input.rs index 07628935f..0ef77ef5d 100644 --- a/crates/base_db/src/input.rs +++ b/crates/base_db/src/input.rs @@ -239,6 +239,7 @@ impl CrateGraph { name: CrateName, to: CrateId, ) -> Result<(), CyclicDependenciesError> { + let _p = profile::span("add_dep"); if self.dfs_find(from, to, &mut FxHashSet::default()) { return Err(CyclicDependenciesError { from: (from, self[from].display_name.clone()), -- cgit v1.2.3