Why is GUIDE so much faster than App Designer? Can you help me speed up my App Designer app?

I have noticed that App Designer apps can feel a little sluggish, so today I decided to make an apples-to-apples test between a GUIDE app and an App Designer app that do the same thing. The files (gaussian_wander.m and .fig for GUIDE, .mlapp for App Designer) are attached -- the program here just has a 2d Gaussian wandering/jittering around on the screen.
On my computer, with nothing other than MATLAB running on the machine, the GUIDE version averages ~54% per image of the App Designer version... or GUIDE is 1.85x faster.
This may be a consequence of how graphics are handled with App Designer, or some other issue, but I'd be eager to learn about whether there are "best practices" I could be using to speed up the App Designer version?

Antworten (1)

I have the same issue. It is even more prevalent when you have a slider or other user interaction. Following to see if there are any responses.

1 Kommentar

Thank you, Chadwick. I have also found that the speed difference is 2x worse for MATLAB 2020a than for earlier versions. Not trending in a promising direction!

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019a

Gefragt:

am 19 Feb. 2020

Kommentiert:

am 29 Jul. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by