(fiber)
| 6885 | }; |
| 6886 | |
| 6887 | var shouldIgnoreFiber = function (fiber) { |
| 6888 | // Host components should be skipped in the timeline. |
| 6889 | // We could check typeof fiber.type, but does this work with RN? |
| 6890 | switch (fiber.tag) { |
| 6891 | case HostRoot: |
| 6892 | case HostComponent: |
| 6893 | case HostText: |
| 6894 | case HostPortal: |
| 6895 | case CallComponent: |
| 6896 | case ReturnComponent: |
| 6897 | case Fragment: |
| 6898 | case ContextProvider: |
| 6899 | case ContextConsumer: |
| 6900 | return true; |
| 6901 | default: |
| 6902 | return false; |
| 6903 | } |
| 6904 | }; |
| 6905 | |
| 6906 | var clearPendingPhaseMeasurement = function () { |
| 6907 | if (currentPhase !== null && currentPhaseFiber !== null) { |
no outgoing calls
no test coverage detected