different speed of ODE benchmark with and without MATLAB gui

3 visualizaciones (últimos 30 días)
Michal
Michal el 16 de Jul. de 2018
Comentada: Auralius Manurung el 27 de Mayo de 2021
When I ran matlab benchmark on Linux at MATLAB GUI and at MATLAB command line (without gui) I get the different speed of ODE benchmark:
MATLAB GUI:
time_gui = bench(50);time_meam = mean(time_gui,1)
0.0824 0.1204 *0.0489* 0.0871 0.4029 0.4236
MATLAB cmdline:
time_cmd = bench(50);time_meam = mean(time_cmd,1)
0.0829 0.1214 *0.0142* 0.0948 0.3838 0.4166
Why is ODE (only!!!) benchmark 4x slower at MATLAB with GUI than at MATLAB without GUI (3rd number) at averaged benchmark results?
  3 comentarios
Michal
Michal el 17 de Jul. de 2018
Editada: Michal el 17 de Jul. de 2018
Situation getting be more complicated...
When I run MATLAB by desktop launcher:
[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
Exec=/usr/local/MATLAB/R2018a/bin/matlab -desktop
Name=MATLAB
Icon=/home/x/.local/share/icons/matlab.png
Categories=Development;Math;Science
Comment=Scientific computing environment
StartupNotify=true
Path=/home/x/Documents/MATLAB
I observed ~4x slow down of ODE benchmark compare to the following two cases:
$ matlab -desktop
or
$ matlab -nodesktop
from command line (terminal)
For these two cmdline (terminal) commands ODE benchmark performs significantly faster.
Auralius Manurung
Auralius Manurung el 27 de Mayo de 2021
This also happens to me. The nodesktop test for the ODE is faster.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by