3 ms·
For a matrix size 50 it beats Julia by a factor of 10 wow https://github.com/zanellia/prometeo/blob/master/benchmarks/riccati_benchmark.png https://github.com/
by savant_penguin 5y ago
For a matrix size 50 it beats Julia by a factor of 10 wow
https://github.com/zanellia/prometeo/blob/master/benchmarks/riccati_benchmark.png https://github.com/zanellia/prometeo/blob/master/benchmarks/...
- adgjlsfhk1 5y agoThis isn't that meaningful since the "Julia" version is just calls to OpenBlas/LAPACK which are known to have relatively high overhead for small matrices. I'd be much more interested in seeing a comparison vs LoopVectorization/StaticArrays which are Julia libraries specifically optimized for small matrices.
- zanellia 5y agoGood point, it should be easy to add Julia to the Fibonacci benchmark. Here is the Python code https://github.com/zanellia/prometeo/blob/master/examples/fibonacci/fibonacci.py https://github.com/zanellia/prometeo/blob/master/examples/fi...
- adgjlsfhk1 5y agodoes prometo change python to use int64?
- shele 5y agoThe Julia-code has some performance flaws in the hot loop (like making a superfluous copy of a matrix before just reading it.)