Timer between cell executions?
Opened this issue · 5 comments
I was wondering why the cells execute so slowly, or, possibly, why there is such a long break between 2 test cells? Do you maybe have a very conservative timer between each execution?
I think it is the time to restart the kernel, I tried removing it and test time for the example notebook went from 13 to 6 seconds.
I asked on StackOverflow if there is a better way.
Otherwise I could add an option to remove the kernel restarts
do you do that to ensure empty stack to prevent inheritance from previous tests? How does that make sense with the setup cell? Not sure i understand how this all works. ;)
for every cell, restart the kernel and then run again the setup cell.
On Thu, Feb 18, 2016 at 1:42 PM K.-Michael Aye notifications@github.com
wrote:
do you do that to ensure empty stack to prevent inheritance from previous
tests? How does that make sense with the setup cell? Not sure i understand
how this all works. ;)—
Reply to this email directly or view it on GitHub
#18 (comment).
I see, and the reason is to ensure independence of each test, right? Maybe one can faster clear the local variable dictionary? Keep a copy of dir()
in the beginning, compare it at end of cell and delete whatever is more in dir()
then?