haydnv / ha-ndarray

An n-dimensional array for Rust with support for OpenCL
Apache License 2.0
1 stars 1 forks source link

create a utility to benchmark vs ndarray, NumPy #18

Closed haydnv closed 9 months ago

peterlionelnewman commented 11 months ago

ha_ndarray_comparison.zip Saw your crate and its looked interesting. started snooping around and saw this help wanted. Do you want something like this? (pyo3 + built with maturin and graphed with matplotlib) (orange = ndarray, magenta = numpy)

Screenshot 2023-10-19 at 23 16 09
haydnv commented 11 months ago

@peterlionelnewman yes this is great! You can see some usage examples to follow in the examples directory. Do you need any more guidance/resources in order to connect the benchmark script to the library?