(label)
| 189 | } |
| 190 | |
| 191 | function sampleRss(label) { |
| 192 | if (!pid) { |
| 193 | return; |
| 194 | } |
| 195 | const rssKb = rssKbForPid(pid); |
| 196 | if (rssKb == null) { |
| 197 | failures.push({ index: -1, error: `Unable to sample RSS for pid ${pid}` }); |
| 198 | return; |
| 199 | } |
| 200 | samples.push({ |
| 201 | label, |
| 202 | completed, |
| 203 | rssMb: Number((rssKb / 1024).toFixed(2)), |
| 204 | }); |
| 205 | } |
| 206 | |
| 207 | function discoverListenerPid(url) { |
| 208 | const port = |
no test coverage detected