fn record_artifact_size( self_profiler_ref: &SelfProfilerRef, artifact_kind: &'static str, path: &Path, )