-
Notifications
You must be signed in to change notification settings - Fork 68
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
planck slow to load library on macOS Sonoma #1101
Comments
@kkinnear There is a hidden option to
The first column indicates how much time was spent in each part, in milliseconds, and the second column is the accumulated time. The is obviously something going on that is expensive right near the very end that it is not timing, but it might be interesting to see what you get on your machine. |
Thanks for the help! Here is the output of your command, above:
If I do this with my normal invocation:
This doesn't tell me anything particularly obvious, but I'm hoping that it suggests something to you... |
Some more data, showing a bit about how loading is going.... After doing this:
I then looked at the files in
Toward the end, it took >15 s to load zprint.cljc, if I am interpreting this correctly. Which would make sense in that it is by far the largest of the zprint files, so that it would be longer than the others. But that seems like a very long time to load one file. I rebooted my MacBook Air just to if anything changed. it didn't, unfortunately. |
@kkinnear OK, that has me curious On my x86 machine, I get around 30 seconds:
|
Yes, that's maybe about what it used to be for me. Now it is:
|
I can also say that this situation isn't unique to my particular laptop. I tried this on a MacBook Air M1 (essentially identical hardware), also running Sonoma, but with a new install of a slightly different Java and an identical Which is kind of disappointing, as I was hoping that it was just something odd about my machine that I could troubleshoot by comparing these two systems. |
First, thanks for planck! It is a great tool for doing clojurescript development!
I use planck to run all of my zprint tests in clojurescript, and it has worked great for years. When I first upgraded to an M1 MacBook Air, I found that it was truly slow to operate in compatibility mode, but after acquiring an ARM version, it has worked great.
Until recently.
I released zprint 1.2.8 while running macOS Ventura, and my overall Clojurescript testing and specific testing using planck was working normally. Then I upgraded to macOS Sonoma. Now, my normal Clojurescript testing regime appears to hang, and even loading zprint into planck takes a very long time. I don't remember what it took to load before -- it wasn't quick, but it was maybe 10-20 seconds. Now it takes over two minutes for the
(require 'zprint.core)
to complete, which probably explains why the overall tests don't appear to progress. They might if I waited long enough. I'm at a loss to understand what is going on.I have upgraded to the latest version of planck, and it didn't seem to change.
Here is what I am seeing:
The timing is obviously dependent on my attention and typing speed, but I was watching closely. It took maybe several seconds for me to react, but it is still amazingly slow.
If it is any help, here are the libraries planck is using:
Just to be sure it is ARM:
I am at a complete loss as to how to move forward to try to solve this problem. I really rely on planck, and now I don't really know what to try next. Any ideas you could give me would be greatly appreciated!
The text was updated successfully, but these errors were encountered: