timing multiple items in a cell separately

3 views
Skip to first unread message

kcrisman

unread,
Mar 16, 2009, 1:50:03 PM3/16/09
to sage-support
In the notebook, suppose I want to do
2+2;2*2
so that they evaluate and display nicely after each other. Then
suppose I want to time them:
%time
2+2;2*2
But then I only get the total timing for the cell, not each part
individually. Is there any way to do that (other than explicitly
calling the timeit module for each one, which is totally not worth it
for my purposes)?

- kcrisman
Reply all
Reply to author
Forward
0 new messages