(s snapshot)
| 337 | } |
| 338 | |
| 339 | func isDrained(s snapshot) bool { |
| 340 | return !hasWork(s) |
| 341 | } |
| 342 | |
| 343 | func buildSummary(cfg benchmarkConfig, start, end snapshot, samples []snapshot) map[string]interface{} { |
| 344 | durationMs := end.timestamp.Sub(start.timestamp).Seconds() * 1000 |
no test coverage detected