(fiber)
| 7596 | }; |
| 7597 | |
| 7598 | var shouldIgnoreFiber = function (fiber) { |
| 7599 | // Host components should be skipped in the timeline. |
| 7600 | // We could check typeof fiber.type, but does this work with RN? |
| 7601 | switch (fiber.tag) { |
| 7602 | case HostRoot: |
| 7603 | case HostComponent: |
| 7604 | case HostText: |
| 7605 | case HostPortal: |
| 7606 | case CallComponent: |
| 7607 | case ReturnComponent: |
| 7608 | case Fragment: |
| 7609 | case ContextProvider: |
| 7610 | case ContextConsumer: |
| 7611 | return true; |
| 7612 | default: |
| 7613 | return false; |
| 7614 | } |
| 7615 | }; |
| 7616 | |
| 7617 | var clearPendingPhaseMeasurement = function () { |
| 7618 | if (currentPhase !== null && currentPhaseFiber !== null) { |
no outgoing calls
no test coverage detected