(clients, iterations)
| 269 | } |
| 270 | |
| 271 | async function singleTest(clients, iterations) { |
| 272 | const clientArray = []; |
| 273 | for (let i = 0; i < clients; i++) { |
| 274 | clientArray.push(singleClientTest(iterations, i, clients)); |
| 275 | } |
| 276 | const clientResults = await Promise.all(clientArray); |
| 277 | const aggResults = aggregate(clientResults); |
| 278 | return objectStats(aggResults); |
| 279 | } |
| 280 | |
| 281 | async function main() { |
| 282 | try { |
no test coverage detected