()
| 74 | } |
| 75 | |
| 76 | async function collectGarbage() { |
| 77 | if (typeof window.gc === 'function') { |
| 78 | window.gc() |
| 79 | await nextFrame() |
| 80 | window.gc() |
| 81 | await nextFrame() |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | async function readStableHeapBytes() { |
| 86 | await collectGarbage() |
no test coverage detected
searching dependent graphs…