rust/hg-core/src/dirstate_tree/status.rs
changeset 47118 c92e63762573
parent 47117 60d852ae7e7b
child 47119 15395fd8ab28
--- a/rust/hg-core/src/dirstate_tree/status.rs	Tue Apr 27 14:20:48 2021 +0200
+++ b/rust/hg-core/src/dirstate_tree/status.rs	Tue Apr 27 17:49:38 2021 +0200
@@ -13,6 +13,7 @@
 use crate::PatternFileWarning;
 use crate::StatusError;
 use crate::StatusOptions;
+use micro_timer::timed;
 use rayon::prelude::*;
 use std::borrow::Cow;
 use std::io;
@@ -29,6 +30,7 @@
 /// and its use of `itertools::merge_join_by`. When reaching a path that only
 /// exists in one of the two trees, depending on information requested by
 /// `options` we may need to traverse the remaining subtree.
+#[timed]
 pub fn status<'tree>(
     dmap: &'tree mut DirstateMap,
     matcher: &(dyn Matcher + Sync),