Add support for artifact size profiling
This commit is contained in:
parent
ca8078d7b2
commit
947a33bf20
8 changed files with 76 additions and 16 deletions
|
@ -95,6 +95,12 @@ where
|
|||
return;
|
||||
}
|
||||
|
||||
sess.prof.artifact_size(
|
||||
&name.replace(' ', "_"),
|
||||
path_buf.file_name().unwrap().to_string_lossy(),
|
||||
encoder.position() as u64,
|
||||
);
|
||||
|
||||
debug!("save: data written to disk successfully");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue