Computing computational load for 2 programs

Good evening.
We often see in the research literature that a particular advance technique reduced the computational load. I would just like to know on what grounds this statement is made. I mean if I have 2 codes and want to see which of the 2 codes puts less computational load on the system, is there a way to do that?
Is there any command that can do the same?
Thanks in advance!
Best regards,
Prabhjeet singh

 Réponse acceptée

Jan
Jan le 1 Mai 2021

0 votes

The standard method to determine the load is measuring the time, which is required to solve the problem. This can include the load distribution to multiple cores or a measurement on different computer architectures.

3 commentaires

So can tic toc command substantiate the computaional load between 2 codes?
Thanks,
Prabhjeet Singh
Jan
Jan le 1 Mai 2021
tic, toc is a fair point to start from. timeit() is smarter. Remember, that measuring that the run time depends on the speed of the computer, which depends on its temperature and background tasks also.
Thankyou very much Jan.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Parallel Server dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by