(fiber)
| 10433 | }; |
| 10434 | |
| 10435 | var shouldIgnoreFiber = function (fiber) { |
| 10436 | // Host components should be skipped in the timeline. |
| 10437 | // We could check typeof fiber.type, but does this work with RN? |
| 10438 | switch (fiber.tag) { |
| 10439 | case HostRoot: |
| 10440 | case HostComponent: |
| 10441 | case HostText: |
| 10442 | case HostPortal: |
| 10443 | case Fragment: |
| 10444 | case ContextProvider: |
| 10445 | case ContextConsumer: |
| 10446 | case Mode: |
| 10447 | return true; |
| 10448 | |
| 10449 | default: |
| 10450 | return false; |
| 10451 | } |
| 10452 | }; |
| 10453 | |
| 10454 | var clearPendingPhaseMeasurement = function () { |
| 10455 | if (currentPhase !== null && currentPhaseFiber !== null) { |
no outgoing calls
no test coverage detected