(stats: {
styleStrNonEmpty: boolean
wideEdgeSkip: boolean
needsWidthCompensation: boolean
wideCell: boolean
})
| 542 | } |
| 543 | |
| 544 | export function recordWriteCellStats(stats: { |
| 545 | styleStrNonEmpty: boolean |
| 546 | wideEdgeSkip: boolean |
| 547 | needsWidthCompensation: boolean |
| 548 | wideCell: boolean |
| 549 | }): void { |
| 550 | if (stats.styleStrNonEmpty) { |
| 551 | logUpdateRenderStats.totalStyleStrNonEmpty += 1 |
| 552 | } |
| 553 | if (stats.wideEdgeSkip) { |
| 554 | logUpdateRenderStats.totalWideEdgeSkips += 1 |
| 555 | } |
| 556 | if (stats.needsWidthCompensation) { |
| 557 | logUpdateRenderStats.totalNeedsWidthCompensation += 1 |
| 558 | } |
| 559 | if (stats.wideCell) { |
| 560 | logUpdateRenderStats.totalWideCellsWritten += 1 |
| 561 | } |
| 562 | } |
| 563 | |
| 564 | export function getLogUpdateRenderStatsSnapshot(): LogUpdateRenderStatsSnapshot { |
| 565 | return { ...logUpdateRenderStats } |
no outgoing calls
no test coverage detected