source of the python benchmarks

2 views (last 30 days)
Foad Sojoodi Farimani
Foad Sojoodi Farimani on 9 Dec 2018
Answered: Al Danial on 10 Sep 2023
Here in this page MATLAB team has mentioned that they have a dozen of benchmarks shwoing MATLAB is faster than Python:
However I can't find the source code to these benchmarks. I would appreciate if you could provide me with those. I very much like to study them. Thanks in advance.
the cyclist
the cyclist on 6 Sep 2023
Looks like this is a newer, working NASA link to equivalent content

Sign in to comment.

Answers (1)

Al Danial
Al Danial on 10 Sep 2023
Broadly speaking I'd agree that MATLAB is often faster than Python. However, with a bit of optimization work you can just as often make Python run faster than MATLAB for computationally intensive work. The combination of Python + Numba can be a viable substitute to mex, that is, you can make your MATLAB code run faster by calling compute intensive functions in Numba-enhanced Python code! has examples.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!