[infer][logging] log time for merge captured targets to `infer_events`

Summary: This function is suspected to be slow, let's take a look at realtime distribution

Reviewed By: ngorogiannis

Differential Revision: D16221864

fbshipit-source-id: 2698602a9
master
Mitya Lyubarskiy 5 years ago committed by Facebook Github Bot
parent c0c6d65d45
commit 99e6447663

@ -46,3 +46,7 @@ let merge_captured_targets () =
PerfEvent.(log (fun logger -> log_begin_event logger ~name:"merge buck targets" ())) ;
merge_captured_targets () ;
PerfEvent.(log (fun logger -> log_end_event logger ()))
let merge_captured_targets () =
ScubaLogging.execute_with_time_logging "merge_captured_targets" merge_captured_targets

Loading…
Cancel
Save