help?> @timed @timed A macro to execute an expression, and return the value of the expression, elapsed time, total bytes allocated, garbage collection time, and an object with various memory allocation counters.
On Fri, Sep 11, 2015 at 5:37 PM, Cedric St-Jean <[email protected]> wrote: > Writing that macro wouldn't be particularly hard, but note that you can > already write: > > ti = @elapsed xxx = 10 > > > > On Friday, September 11, 2015 at 5:08:15 PM UTC-4, [email protected] > wrote: >> >> To be clear, I want a macro while allows me to do: >> value, time = @timeret(myfunc()) >> where myfunc() is only called once. >> >
