mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-22 05:35:10 +00:00
Annotate snapshot_rbxm for profiling
This commit is contained in:
@@ -102,6 +102,7 @@ impl InstanceSnapshot {
|
||||
}
|
||||
}
|
||||
|
||||
#[profiling::function]
|
||||
pub fn from_tree(tree: &WeakDom, id: Ref) -> Self {
|
||||
let instance = tree.get_by_ref(id).expect("instance did not exist in tree");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user