summaryrefslogtreecommitdiff
path: root/plugins/warp/src/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/warp/src/plugin')
-rw-r--r--plugins/warp/src/plugin/workflow.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/warp/src/plugin/workflow.rs b/plugins/warp/src/plugin/workflow.rs
index c2f82bd9..04e14a16 100644
--- a/plugins/warp/src/plugin/workflow.rs
+++ b/plugins/warp/src/plugin/workflow.rs
@@ -155,7 +155,11 @@ pub fn run_matcher(view: &BinaryView) {
log::info!("Matcher was cancelled by user, you may run it again by running the 'Run Matcher' command.");
}
- log::info!("Function matching took {:?}", start.elapsed());
+ // It is noisy to show this every time, so we only show it in cases where a user can reasonably perceive.
+ let elapsed = start.elapsed();
+ if elapsed > std::time::Duration::from_secs(1) {
+ log::info!("Function matching took {:?}", elapsed);
+ }
background_task.finish();
// Now we want to trigger re-analysis.