(fiber)
| 7555 | }; |
| 7556 | |
| 7557 | var shouldIgnoreFiber = function (fiber) { |
| 7558 | // Host components should be skipped in the timeline. |
| 7559 | // We could check typeof fiber.type, but does this work with RN? |
| 7560 | switch (fiber.tag) { |
| 7561 | case HostRoot: |
| 7562 | case HostComponent: |
| 7563 | case HostText: |
| 7564 | case HostPortal: |
| 7565 | case CallComponent: |
| 7566 | case ReturnComponent: |
| 7567 | case Fragment: |
| 7568 | case ContextProvider: |
| 7569 | case ContextConsumer: |
| 7570 | return true; |
| 7571 | default: |
| 7572 | return false; |
| 7573 | } |
| 7574 | }; |
| 7575 | |
| 7576 | var clearPendingPhaseMeasurement = function () { |
| 7577 | if (currentPhase !== null && currentPhaseFiber !== null) { |
no outgoing calls
no test coverage detected