My $timing function...



?iga Lenar?i? wrote:
>
> Precisely the reason $timing must be defined in lisp with 'defmspec'  
> - to prevent argument evaluation. In maxima it is possible (but not  
> very handy) to do (with documented Maxima functions):
> ---------
> start: elapsed_run_time();
> expression;
> runtime: elapsed_run_time() - start;
> --------
>
> It does what $timing does - but it's not very handy :) for quick  
> profiling of your or Maxima functions.
>   
Perhaps timer() will do what you want.  "? timer" for more info.

Ray