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