-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-2076: [Python] Display slowest test durations #1541
Conversation
Thanks @pitrou! Well it's pretty clear cut: Python 3.6:
and Python 2.7
Not sure exactly what's happening (swapping?) but it looks like we ought to be able to trim 6-7 minutes off by doing something about these tests. cc @robertnishihara @pcmoritz |
Thanks, we'll look into it. |
d3199bc
to
6d5146e
Compare
6d5146e
to
cf5e9c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, merging as want to have this output continuously in Travis.
Any ideas about speeding this up would be appreciated. Note that the tests run very quickly locally (<1s for I tried compiling with Also tried making large arrays in |
I think the problem is that in test_serialization.py, Bar contains a copy of PRIMITIVE_OBJECTS + COMPLEX_OBJECTS and then Qux contains a bunch of copies of Bar, so we are serializing PRIMITIVE_OBJECTS + COMPLEX_OBJECTS a lot of times. If this is slower on travis (due to swapping, VM overhead or anything else, the whole test is slowed down a lot. So let's slim down the objects that Bar contains! |
That doesn't explain why |
No description provided.