MCPcopy Index your code
hub / github.com/nodejs/node / RunGenerator

Function RunGenerator

deps/v8/tools/run_perf.py:1359–1368  ·  view source on GitHub ↗
(runnable)

Source from the content-addressed store, hash-verified

1357 logging.info('>>> Running suite: %s', runnable_name)
1358
1359 def RunGenerator(runnable):
1360 if args.confidence_level:
1361 counter = 0
1362 while not result_tracker.HasEnoughRuns(
1363 runnable, args.confidence_level):
1364 yield counter
1365 counter += 1
1366 else:
1367 for i in range(0, max(1, args.run_count or runnable.run_count)):
1368 yield i
1369
1370 for i in RunGenerator(runnable):
1371 attempts_left = runnable.retry_count + 1

Callers 1

MainFunction · 0.85

Calls 3

HasEnoughRunsMethod · 0.80
rangeFunction · 0.50
maxFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…