commands
→ time
time()
The time command returns the elapsed time.
Examples
f = (1+x+y+z)^20;
T = time(); f = expand(f); time()-T;
0.007552