pysyncq.tests package

Submodules

pysyncq.tests.benchmark module

Get a measure of the message transfer time from a source process to a reader through a PySyncQ interface. Prints table in which the average, standard deviation and error of the mean, minimum and maximum of the measured transfer times are given in milliseconds, for a range of message body sizes. Runs with 8 processes connected to one PySyncQ object.

pysyncq.tests.benchmark.cfun(q, name)[source]
pysyncq.tests.benchmark.transtime(q, msg, N)[source]

pysyncq.tests.demo module

A simple demonstration of how pysyncq can be used to coordinate the behaviour of multiple child processes. Program can be run from the command line:

e.g. $ python demo.py

pysyncq.tests.demo.cfun(q, name)[source]
pysyncq.tests.demo.keyhit()
pysyncq.tests.demo.keyhit_notwin()[source]
pysyncq.tests.demo.keyhit_windows()[source]

Module contents