(output)
| 85 | } |
| 86 | |
| 87 | processResults(output) { |
| 88 | const throughputRe = /Requests\/sec:[ \t]+([0-9.]+)/; |
| 89 | const match = output.match(throughputRe); |
| 90 | const throughput = match && +match[1]; |
| 91 | if (!isFinite(throughput)) { |
| 92 | return undefined; |
| 93 | } |
| 94 | return throughput; |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | /** |
no test coverage detected