MCPcopy
hub / github.com/uber/petastorm / test_pure_python_process_pool_run

Function test_pure_python_process_pool_run

petastorm/tests/test_benchmark.py:23–26  ·  view source on GitHub ↗
(synthetic_dataset)

Source from the content-addressed store, hash-verified

21
22
23def test_pure_python_process_pool_run(synthetic_dataset):
24 reader_throughput(synthetic_dataset.url, ['id'], warmup_cycles_count=5, measure_cycles_count=5,
25 pool_type=WorkerPoolType.PROCESS, loaders_count=1, read_method=ReadMethod.PYTHON,
26 spawn_new_process=False)
27
28
29def test_tf_thread_pool_run(synthetic_dataset):

Callers

nothing calls this directly

Calls 1

reader_throughputFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…