(fiber)
| 6922 | }; |
| 6923 | |
| 6924 | var shouldIgnoreFiber = function (fiber) { |
| 6925 | // Host components should be skipped in the timeline. |
| 6926 | // We could check typeof fiber.type, but does this work with RN? |
| 6927 | switch (fiber.tag) { |
| 6928 | case HostRoot: |
| 6929 | case HostComponent: |
| 6930 | case HostText: |
| 6931 | case HostPortal: |
| 6932 | case CallComponent: |
| 6933 | case ReturnComponent: |
| 6934 | case Fragment: |
| 6935 | case ContextProvider: |
| 6936 | case ContextConsumer: |
| 6937 | return true; |
| 6938 | default: |
| 6939 | return false; |
| 6940 | } |
| 6941 | }; |
| 6942 | |
| 6943 | var clearPendingPhaseMeasurement = function () { |
| 6944 | if (currentPhase !== null && currentPhaseFiber !== null) { |
no outgoing calls
no test coverage detected