(fiber)
| 7699 | }; |
| 7700 | |
| 7701 | var shouldIgnoreFiber = function (fiber) { |
| 7702 | // Host components should be skipped in the timeline. |
| 7703 | // We could check typeof fiber.type, but does this work with RN? |
| 7704 | switch (fiber.tag) { |
| 7705 | case HostRoot: |
| 7706 | case HostComponent: |
| 7707 | case HostText: |
| 7708 | case HostPortal: |
| 7709 | case CallComponent: |
| 7710 | case ReturnComponent: |
| 7711 | case Fragment: |
| 7712 | case ContextProvider: |
| 7713 | case ContextConsumer: |
| 7714 | return true; |
| 7715 | default: |
| 7716 | return false; |
| 7717 | } |
| 7718 | }; |
| 7719 | |
| 7720 | var clearPendingPhaseMeasurement = function () { |
| 7721 | if (currentPhase !== null && currentPhaseFiber !== null) { |
no outgoing calls
no test coverage detected