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

time -- time a computation

Description

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 6.423e-06s (cpu); 3.807e-06s (thread); 0s (gc)

o1 = 205891132094649

See also

For the programmer

The object time is a keyword.


The source of this document is in Macaulay2Doc/ov_system.m2:909:0.