I tested the same algorithm in both Julia and Matlab to see which one could compute it faster. The same machine was used for both computations.
I did four tests.
The first test is running the program as is without having anything stored in the work space. This shows how long it would take you to run the program for the first time.
Results:
Matlab: 36.7 seconds
Julia: 33.2 seconds
The second test i did was running the same program again but this time it will have information stored in its work space.
Results:
Matlab: 32.6 seconds
Julia: 12.4 seconds
The third test I did was running the programs without displaying the graph as it was produced, while also keeping its work space from previous runs.
Results:
Matlab: 18.6 seconds
Julia: 10.7 seconds
The final test i did was running the program again with displaying the results but doubling the number of frames of the resulting graph that is displayed.
Results:
Matlab: 73.3 seconds
Julia: 25.5 seconds
As can be seen from the above results Julia is faster that Matlab in all regards for this problem. And as for the last comparison it is almost 3 times faster.