MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / isDrained

Function isDrained

tests/loadtest/tools/queue_benchmark.go:339–341  ·  view source on GitHub ↗
(s snapshot)

Source from the content-addressed store, hash-verified

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

Callers 2

mainFunction · 0.85
buildSummaryFunction · 0.85

Calls 1

hasWorkFunction · 0.85

Tested by

no test coverage detected