-
Notifications
You must be signed in to change notification settings - Fork 108
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
%bench 1+1 takes several minutes on macOS #359
Comments
I can't really reproduce the same thing locally. Note that "Compile time" as it was in the commit you've seen is really compile time + benchmark time, so it's really the later that dominates it. I've made some improvements to the benchmark suite in #372 and hopefully that will be enough to resolve your issue? If not, feel free to reopen. |
Tried a fresh build of main just now.
it still took like several minutes wall time, and the runtime is still unreasonably high given @apaszke reported 150ns for |
I also find that %bench takes at least a few minutes to run. I think me and @oxinabox are both using Macs. |
Hah, mac is a good pointer! I've been trying to reproduce on Linux, but couldn't! |
When i use
%bench
it sits there using 100% CPU for like 10 minutes.and reports timing to match.
Outside of
%bench
it doesn't seem to take a noticable amount of time.This seems to happen on even if i have called the function before doing
%bench
and also occurs when i%bench
it again.Runtime also seems pretty high.
This is with a fresh build of dex on commit 8646638.
Running on Mac.
This wasn't the case a week ago.
The text was updated successfully, but these errors were encountered: