Skip to content

plugins.aea-cli-benchmark.aea_cli_benchmark.case_acn_communication.case

Check amount of time for acn connection communications.

TimeMeasure Objects

class TimeMeasure()

Time measure data class.

__init__

def __init__()

Init data class instance.

time_measure

@contextmanager
def time_measure()

Get time measure context.

make_envelope

def make_envelope(from_addr: str, to_addr: str) -> Envelope

Construct an envelope.

run

def run(connection: str,
        run_times: int = 10) -> List[Tuple[str, Union[int, float]]]

Check construction time and memory usage.