MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / buildRunTasks

Function buildRunTasks

benchmarks/run-scaling-series.mjs:138–143  ·  view source on GitHub ↗
(totalRuns)

Source from the content-addressed store, hash-verified

136}
137
138function buildRunTasks(totalRuns) {
139 return Array.from({ length: totalRuns }, (_, index) => ({
140 runNumber: index + 1,
141 label: `pass-${String(index + 1).padStart(String(totalRuns).length, '0')}`,
142 }))
143}
144
145async function runTasksInParallel(tasks, totalWorkers) {
146 await mkdir(workerCachesRoot, { recursive: true })

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected