pydistsim.benchmark

This module contains the AlgorithmBenchmark class, which is used to benchmark the performance of a given algorithm.

Functions

decide_directed_class

decide_rect_shape

Auxiliary function to choose shape so that a * b ≈ n and neither a or b are equal to 1 (most of the time).

Classes

AlgorithmBenchmark

This class is used to benchmark the performance of a given algorithm.