-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Performance regression in fillna #37833
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
Comments
im seeing a 19% slowdown vs 1.1.4, vs more than 2x on the link. can anyone else reproduce either of these measurements? |
So the snippet from the benchmark is basically:
Locally I see a 2x slowdown on master vs 1.1. Comparing the snakeviz profiles, the additional times seems to come from |
I suppose the main difference is that
(now, I don't know if this difference scales with larger data) |
Huh, good to know! ill make a PR to update putmask_simple and see if that solves the issue |
By updating putmask_simple I get this particular example to slightly faster than 1.1.4. WIll have to wait and see if the asv machine sees the same difference as i do locally. |
https://pandas.pydata.org/speed/pandas/index.html#replace.FillNa.time_fillna?python=3.8&Cython=0.29.21&p-inplace=False&commits=2eb353063d6bc4f2ed22e9943d26465e284b8393-68f53cd9e556698fe786aefe90466f233eb55841
2eb3530...68f53cd
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
The text was updated successfully, but these errors were encountered: