diff --git a/compiler/crates/relay-compiler/src/build_project/mod.rs b/compiler/crates/relay-compiler/src/build_project/mod.rs index 70abdfdd14127..6d72a24060c72 100644 --- a/compiler/crates/relay-compiler/src/build_project/mod.rs +++ b/compiler/crates/relay-compiler/src/build_project/mod.rs @@ -381,7 +381,13 @@ pub async fn commit_project( }; let artifacts_file_hash_map = match &config.get_artifacts_file_hash_map { - Some(get_fn) => get_fn(&artifacts).await, + Some(get_fn) => { + let get_artifacts_file_hash_map_timer = + log_event.start("get_artifacts_file_hash_map_time"); + let res = get_fn(&artifacts).await; + log_event.stop(get_artifacts_file_hash_map_timer); + res + } _ => None, };