mandelbrot_benchmark package

Subpackages

Submodules

mandelbrot_benchmark.cli module

mandelbrot_benchmark.cli.benchmark(backends: str = 'numba,taichi,warp', max_size_cpu: int = 10, max_size_cuda: int = 13, size_step: float = 0.1) None[source]

Run the Mandelbrot benchmark for different backends and devices.

mandelbrot_benchmark.cli.plot() None[source]

Plot the results.

mandelbrot_benchmark.plot module

mandelbrot_benchmark.plot.plot_mandelbrot(z: Any, /, *, ax: Axes | None = None, extent: tuple[float, float, float, float] | None = None) None[source]

Plot the Mandelbrot set.