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
Possible slowdown in is-prime #2945
Labels
Comments
produces a profile for me that spends ~ 99% of the time in |
|
I haven’t had time to try and reproduce with something different, but I I thought maybe some of the bigint optimizations @jnthn recently landed in MoarVM might have caused this.
…Sent from my iPhone
On Jun 2, 2019, at 4:53 AM, Elizabeth Mattijsen ***@***.***> wrote:
$ perl6 --profile -e '(^10_000).grep(*.is-prime).tail.say'
produces a profile for me that spends ~ 99% of the time in is-prime. And I don't think that has been changed at all since then. Could you reproduce this performance difference with something other than is-prime ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
|
So there's this (GCC-related): #2945 And then this: 7d7aaf0 and this commit specifically: MoarVM/MoarVM@304f568 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On my system, at HEAD,
(^10_000).grep(*.is-prime).tail.say; say now - INIT nowreports ~2.2s, but 2018.12 reports ~1.3s.The text was updated successfully, but these errors were encountered: