Module performance_utils

Module performance_utils 

Source
Expand description

Performance utility functions

Functionsยง

benchmark_function
Benchmark a function multiple times
calculate_efficiency
Calculate efficiency (actual vs theoretical performance)
calculate_latency
Calculate latency (average time per operation)
calculate_throughput
Calculate throughput (operations per second)