You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the merge of the sqlite branch, the test suite got really slow. I've just realized it's because of all the massive amount of disk activity of all the disk writes.
Furthermore, this now means that after a run of the test suite, all history is polluted with all the inputs from the testing.
So the test suite should set the sqlite database to be :memory: instead of an actual file on disk. This will make things both go much faster, and avoid the history pollution problem.
The text was updated successfully, but these errors were encountered:
I'm on it. I'm going to do a little refactoring of the HistoryManager.__init__() to use Traitlet _default methods where possible. This will let us replace hist_file=':memory:' more flexibly.
I'm on it. I'm going to do a little refactoring of the HistoryManager.__init__() to use Traitlet _default methods where possible. This will let us replace hist_file=':memory:' more flexibly.
I'm not sure how much this really affects the test suite runtime. On my machine, the bulk of the time is taken up by the IPython.kernel test suite.
Thanks, I'll have a look in a sec. The point is that the .core test
time went up by a lot (on my laptop with a slow 5400 rpm disk).
.kernel still takes longest, but that stuff will eventually go away,
while .core tests will likely grow, so we were taking a hit in the
wrong place.
After the merge of the sqlite branch, the test suite got really slow. I've just realized it's because of all the massive amount of disk activity of all the disk writes.
Furthermore, this now means that after a run of the test suite, all history is polluted with all the inputs from the testing.
So the test suite should set the sqlite database to be :memory: instead of an actual file on disk. This will make things both go much faster, and avoid the history pollution problem.
The text was updated successfully, but these errors were encountered: