octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave equivalent to Matlab's 'timeit' function


From: Oliver Heimlich
Subject: Re: Octave equivalent to Matlab's 'timeit' function
Date: Sun, 18 Mar 2018 01:26:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

> On Sat, Mar 17, 2018 at 6:05 PM, Patel, Ankush <address@hidden
> <mailto:address@hidden>> wrote:
>
>     I already looked through the octave-forge packages, but I was
>     curious whether there was an Octave equivalent to Matlab's timeit()
>     function here
>     <https://www.mathworks.com/help/matlab/ref/timeit.html>? I'm trying
>     to test the efficiency of my code. If there isn't a function, I
>     could work on implementing one.

On 18.03.2018 00:08, Patel, Ankush wrote:
> Disregard, I found an equivalent function
> <https://octave.sourceforge.io/octave/function/speed.html>.

If you are interested in improving the runtime of your code, I can also
recommend to use the profiler. See

https://octave.org/doc/interpreter/Profiler-Example.html

Best
Oliver

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]