(componentName, isMounted, phase)
| 7514 | }; |
| 7515 | |
| 7516 | var getFiberLabel = function (componentName, isMounted, phase) { |
| 7517 | if (phase === null) { |
| 7518 | // These are composite component total time measurements. |
| 7519 | return componentName + ' [' + (isMounted ? 'update' : 'mount') + ']'; |
| 7520 | } else { |
| 7521 | // Composite component methods. |
| 7522 | return componentName + '.' + phase; |
| 7523 | } |
| 7524 | }; |
| 7525 | |
| 7526 | var beginFiberMark = function (fiber, phase) { |
| 7527 | var componentName = getComponentName(fiber) || 'Unknown'; |
no outgoing calls
no test coverage detected