(type)
| 154 | } |
| 155 | |
| 156 | function maybeIncrementObserverCount(type) { |
| 157 | const observerType = getObserverType(type); |
| 158 | |
| 159 | if (observerType !== undefined) { |
| 160 | observerCounts[observerType]++; |
| 161 | if (!gcTrackingInstalled && |
| 162 | observerType === NODE_PERFORMANCE_ENTRY_TYPE_GC) { |
| 163 | installGarbageCollectionTracking(); |
| 164 | gcTrackingInstalled = true; |
| 165 | } |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | const kSkipThrow = Symbol('kSkipThrow'); |
| 170 | const performanceObserverSorter = (first, second) => { |
no test coverage detected