Add profile call

This commit is contained in:
Aleksey Kladov 2020-03-03 16:30:29 +01:00
parent 077f8ac02c
commit 2ff2c29a1e

View file

@ -114,6 +114,7 @@ pub(crate) fn find_all_refs(
position: FilePosition,
search_scope: Option<SearchScope>,
) -> Option<RangeInfo<ReferenceSearchResult>> {
let _p = profile("find_all_refs");
let sema = Semantics::new(db);
let syntax = sema.parse(position.file_id).syntax().clone();