I am starting using Julia. I like its sintax, simplicity and its claimed performances.
I have been using Matlab/Octave a lot at university and now at work we are using Octave for licence reason. However Octave is really slow and here I have read about Julia.
I have tried some simple matrix multiplication (A*B, not element wise one) but it is really slow.
Octave is faster and Python numpy too.
I am using Julia version 0.6.2 on Ubuntu notebook for the test but the same problem occurs in Windows 10.
Python code below takes 0.006 seconds:
import numpy import cProfile n = 1000; x=numpy.random.random((n,n)) y=numpy.random.random((n,n)) cProfile.run("x*y")
Julia code takes 0.1 seconds.
n = 1000; a = rand(n,n); @time a*a;
I don’t understand why is so slow.