Benchmarking (python vs. c++ using BLAS) and (numpy)
问题 I would like to write a program that makes extensive use of BLAS and LAPACK linear algebra functionalities. Since performance is an issue I did some benchmarking and would like know, if the approach I took is legitimate. I have, so to speak, three contestants and want to test their performance with a simple matrix-matrix multiplication. The contestants are: Numpy, making use only of the functionality of dot . Python, calling the BLAS functionalities through a shared object. C++, calling the