-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
performance regression for Core.Intrinsicts.rem_float
in 1.8/1.9
#46467
Comments
Is this a difference in which libm we call? |
I noticed now that similar performance regressions can be felt in the |
that's unsurprising but quite bad. |
Core.Intrinsicts.rem_float
in 1.8Core.Intrinsicts.rem_float
in 1.8/1.9
Also, this affects 1.9 as well. |
Was this a change in our side? Did we change from system libm to Openlibm or something like it? |
yeah we're hitting the openlibm one now. The ideal fix would be to move this to pure Julia but I doubt I'll get around to it. |
Could we port this algorithm. It doesn't seem too too complicated. And license wise it would be fine I guess. |
want to take a crack at it? |
Sure, I'll try it out, see how it compares :) |
I noticed this in the use of
mod
, but it seems that the issue can be tracked down toCore.Intrinsics.rem_float
:On 1.8.0:
On 1.7.3:
This is causing a significant performance regression in a package of mine which uses
mod
many many times.system info:
Linux m3g 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
edit: on the nightly build:
The text was updated successfully, but these errors were encountered: