MathGroup Archive 2007

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

Search the Archive

Re: Timing in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74743] Re: Timing in Mathematica
  • From: Peter Pein <petsie at dordos.net>
  • Date: Tue, 3 Apr 2007 00:28:57 -0400 (EDT)
  • References: <euqnqt$8br$1@smc.vnet.net>

amitsoni.1984 at gmail.com schrieb:
> Hi,
> 
> I am using Timing[.......] to calculate the time taken by an
> expression in Mathematica. But it is not showing values below 0.01
> seconds. For values below 0.01s it just shows 0. Second
> 
> Is it possible to get the value of time lower than 0.01s by somehow
> lowering the least count. I am using Mathematica 5.2 on Windows. I was
> getting lower values of time on Mathematica(5.2) on a Linux computer.
> 
> Thank you,
> Amit
> 
> 
Hi Amit,

if it is important to get these timings (because the functions are called in
loops), I would do it with

Timing[Do[ <<the expression>>,{10^4}]]

and divide the result by 10^4.

P²


  • Prev by Date: Re: Cantor Function problem
  • Next by Date: Re: Limiting range of variables when defining funxtions of several variables
  • Previous by thread: Timing in Mathematica
  • Next by thread: Re: Timing in Mathematica