Macaulay2 » Documentation
Packages » Macaulay2Doc > The Macaulay2 language > system facilities > time
next | previous | forward | backward | up | index | toc

time -- time a computation



time e evaluates e, prints the amount of cpu time used, and returns the value of e. The time used by the the current thread and garbage collection during the evaluation of e is also shown.
i1 : time 3^30
 -- used 1.248e-05s (cpu); 5.53e-06s (thread); 0s (gc)

o1 = 205891132094649

See also

For the programmer

The object time is a keyword.