From 2ff2c29a1e6f93495a40b57044678346531045ae Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 3 Mar 2020 16:30:29 +0100 Subject: Add profile call --- crates/ra_ide/src/references.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_ide/src') diff --git a/crates/ra_ide/src/references.rs b/crates/ra_ide/src/references.rs index 2eb047c96..9b0785e1d 100644 --- a/crates/ra_ide/src/references.rs +++ b/crates/ra_ide/src/references.rs @@ -114,6 +114,7 @@ pub(crate) fn find_all_refs( position: FilePosition, search_scope: Option, ) -> Option> { + let _p = profile("find_all_refs"); let sema = Semantics::new(db); let syntax = sema.parse(position.file_id).syntax().clone(); -- cgit v1.2.3