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