rust/rhg/src/commands/debugdata.rs
changeset 45530 b1cea0dc9db0
parent 45528 66756b34c06e
child 46032 8d6164098782
--- a/rust/rhg/src/commands/debugdata.rs	Mon Aug 17 16:56:39 2020 +0200
+++ b/rust/rhg/src/commands/debugdata.rs	Wed Sep 23 12:26:16 2020 +0200
@@ -5,6 +5,7 @@
 use hg::operations::{
     DebugData, DebugDataError, DebugDataErrorKind, DebugDataKind,
 };
+use micro_timer::timed;
 
 pub const HELP_TEXT: &str = "
 Dump the contents of a data file revision
@@ -22,6 +23,7 @@
 }
 
 impl<'a> Command for DebugDataCommand<'a> {
+    #[timed]
     fn run(&self, ui: &Ui) -> Result<(), CommandError> {
         let mut operation = DebugData::new(self.rev, self.kind);
         let data =