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²