(fiber)
| 7812 | }; |
| 7813 | |
| 7814 | var shouldIgnoreFiber = function (fiber) { |
| 7815 | // Host components should be skipped in the timeline. |
| 7816 | // We could check typeof fiber.type, but does this work with RN? |
| 7817 | switch (fiber.tag) { |
| 7818 | case HostRoot: |
| 7819 | case HostComponent: |
| 7820 | case HostText: |
| 7821 | case HostPortal: |
| 7822 | case CallComponent: |
| 7823 | case ReturnComponent: |
| 7824 | case Fragment: |
| 7825 | case ContextProvider: |
| 7826 | case ContextConsumer: |
| 7827 | return true; |
| 7828 | default: |
| 7829 | return false; |
| 7830 | } |
| 7831 | }; |
| 7832 | |
| 7833 | var clearPendingPhaseMeasurement = function () { |
| 7834 | if (currentPhase !== null && currentPhaseFiber !== null) { |
no outgoing calls
no test coverage detected