MCPcopy Create free account
hub / github.com/PyTables/PyTables / multiprocess_access_benchmarks.py

File multiprocess_access_benchmarks.py

examples/multiprocess_access_benchmarks.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Benchmark three methods of using PyTables with multiple processes, where data
2# is read from a PyTables file in one process and then sent to another
3#
4# 1. using multiprocessing.Pipe

Callers

nothing calls this directly

Calls 4

read_and_send_pipeFunction · 0.85
read_and_send_memmapFunction · 0.85
read_and_send_socketFunction · 0.85
create_fileFunction · 0.70

Tested by

no test coverage detected