MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

How do I get Timing results in Out[]//<Message>?

  • To: mathgroup at
  • Subject: [mg43917] How do I get Timing results in Out[]//<Message>?
  • From: Scott Centoni <scentoni at>
  • Date: Sat, 11 Oct 2003 01:33:36 -0400 (EDT)
  • Organization: Swiss Federal Institute of Technology (ETHZ)
  • Sender: owner-wri-mathgroup at

I remember reading a very neat tip on how to get Timing[] wrapped around
every evaluation by default, and the results printed out in the blue
Out[123]= line for each output cell in the notebook so that it doesn't
clutter up your output.  I think I remember reading this tip in The 
Mathematica Journal, but I can't find it.  Do any of you know what I'm 
referring to?

Note that this is rather like


        {{1, 0, 0, 0},
         {0, 1, 0, 0},
         {0, 0, 1, 0},
         {0, 0, 0, 1}

and completely different from the following trick at the support web 
site to put the timing in the status line, the lower left corner of the 

> How do I get Mathematica to display the timing of an evaluation in 
> lower-left corner of my notebook?
> You can have the timing of each evaluation displayed in the 
> lower-left corner of a notebook by going to the Option Inspector and 
> adding the value "ShowTiming" to the option
> Notebook Options|Evaluation Options|EvaluationCompletionAction


which I find almost useless because as soon as your 5-minute evaluation
finishes, it's timing is overwritten by the one after it, which only
takes 0.04 seconds.


  • Prev by Date: Re: Simplifying Exponents
  • Next by Date: bug in CoefficientArrays?
  • Previous by thread: Re: What Happens to Garbage in Mathematica?
  • Next by thread: Re: How do I get Timing results in Out[]//<Message>?