mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 13:44:04 +00:00
Mark in Sampling Profiler when the execution is outside of the VM
Differential Revision: D3722907 fbshipit-source-id: c988c3ea2ab33496dc1453e6e54e624d9f295173
This commit is contained in:
parent
0b88dbf1a0
commit
3d7fe3e6d3
@ -38,6 +38,8 @@ class TreeTransformator {
|
||||
tree.url = 'file://' + original.source;
|
||||
tree.lineNumber = original.line;
|
||||
tree.columnNumber = original.column;
|
||||
} else if (tree.deoptReason === 'outside_vm') {
|
||||
tree.functionName = 'OUTSIDE VM';
|
||||
}
|
||||
tree.children = tree.children.map((t) => this.transformNode(t));
|
||||
return tree;
|
||||
|
Loading…
x
Reference in New Issue
Block a user