( kind: 'spacer' | 'empty' | 'fg-only-space-same-style' | 'visible', )
| 296 | } |
| 297 | |
| 298 | export function recordVisibleCellAtIndexResult( |
| 299 | kind: 'spacer' | 'empty' | 'fg-only-space-same-style' | 'visible', |
| 300 | ): void { |
| 301 | if (kind === 'spacer') { |
| 302 | logUpdateRenderStats.totalSpacerSkips += 1 |
| 303 | } else if (kind === 'empty') { |
| 304 | logUpdateRenderStats.totalEmptySkips += 1 |
| 305 | } else if (kind === 'fg-only-space-same-style') { |
| 306 | logUpdateRenderStats.totalFgOnlySpaceSameStyleSkips += 1 |
| 307 | } else { |
| 308 | logUpdateRenderStats.totalVisibleReturns += 1 |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | export function recordMoveCursorStats( |
| 313 | kind: |
no outgoing calls
no test coverage detected