(fiber)
| 7654 | }; |
| 7655 | |
| 7656 | var shouldIgnoreFiber = function (fiber) { |
| 7657 | // Host components should be skipped in the timeline. |
| 7658 | // We could check typeof fiber.type, but does this work with RN? |
| 7659 | switch (fiber.tag) { |
| 7660 | case HostRoot: |
| 7661 | case HostComponent: |
| 7662 | case HostText: |
| 7663 | case HostPortal: |
| 7664 | case CallComponent: |
| 7665 | case ReturnComponent: |
| 7666 | case Fragment: |
| 7667 | case ContextProvider: |
| 7668 | case ContextConsumer: |
| 7669 | return true; |
| 7670 | default: |
| 7671 | return false; |
| 7672 | } |
| 7673 | }; |
| 7674 | |
| 7675 | var clearPendingPhaseMeasurement = function () { |
| 7676 | if (currentPhase !== null && currentPhaseFiber !== null) { |
no outgoing calls
no test coverage detected