perfplot icon indicating copy to clipboard operation
perfplot copied to clipboard

:chart_with_upwards_trend: Performance analysis for Python snippets

Results 16 perfplot issues
Sort by recently updated
recently updated
newest added

The existing equality check does not support integers as np.allclose will throw an exception: ``` xfin = isfinite(x) TypeError: ufunc 'isfinite' not supported for the input types, and the inputs...

Add an option to have a warm up run before the actual benchmark. This is crucial when benchmarking anything that has a compilation step (i.e. using numba)

**Describe the bug** A nice feature of `perfplot` is to be able to compare results that take dramatically different times. Imagine one is `O(n)` and another `O(n!)`. In that case,...

**Describe the bug** The `equality_check` callback is not called with the actual results of the kernels if those results are `tuple`s. **To Reproduce** ```python def f(n): return n, 'something' def...

I tried `conda install -c conda-forge perfplot` and it worked for my conda base environment.

Consider posting in https://github.com/nschloe/perfplot/discussions for feedback before raising a feature request. **How would you improve perfplot?** Format the time in `perfplot.bench()` output in a manner similar to `timeit` module. **Proposal:**...