Every program in newer versions of Matlab runs slower, Why?
50 views (last 30 days)
Every program in newer versions of Matlab runs slower and slower. I have measured with external stop watches also. And it does drop frame rate in vision processing which is very obvious from human observation too.
Bench (Same matlab, different computers) produces same results butactual program runs slower measured with external stop watches.
Bench (different Matlab vesrions, same PC) produces rsults which match external stop watches.
Also newer figure Uifigure and widgets are too slow.
I have swicth to old matlab for faster execution.
Why is it happening?
Rik on 6 Jan 2022
Some things get slower, some things get faster. It really matters what exact functions you're calling.
If I write a function where time might be an important factor, I tend to write my own performance tester. Feel free to have a look at one of my functions: ComputeNonCryptHash. If you look at the performance section (the HTML doc is the 'examples' tab), you can compare the relative speed.