Skip to content

voiage.main_backends.benchmark_memory_throughput

benchmark_memory_throughput([positional or keyword] backend: Backend = None, [positional or keyword] net_benefit_array: ArrayLike = None, [positional or keyword] repeats: int = 1000, [positional or keyword] warmup_runs: int = 1) -> dict[str, object]

Measure a backend using the memory/throughput benchmark shape.

Parameters:

  • backend Backend
  • net_benefit_array ArrayLike
  • repeats int (default: 1000)
  • warmup_runs int (default: 1)

Returns: dict[str, object]