Add profiling info and optional profiling with Tracy

This commit is contained in:
Lucien Greathouse
2022-05-27 03:08:54 -04:00
parent 79b57b3359
commit 7aa7a35aa5
7 changed files with 163 additions and 0 deletions

View File

@@ -97,6 +97,7 @@ fn xml_encode_config() -> rbx_xml::EncodeOptions {
rbx_xml::EncodeOptions::new().property_behavior(rbx_xml::EncodePropertyBehavior::WriteUnknown)
}
#[profiling::function]
fn write_model(
session: &ServeSession,
output: &Path,