Replies: 4 comments 3 replies
-
|
I'm on an M2 Air myself and bisected this using Claude to see if there was a regression, it didn't find anything, here's its report: MethodI bisected against the 20 actual released plugin versions sitting in your ResultsCompliance-check goal, 400 compute-heavy classes, across all 20 versions:
Flat. 7.0.250 (3.4s) ≈ 7.0.214 (3.4s). The 237/242 blips are single-run noise, not a sustained step. Scaling 400 → 2000 classes (current version): bytecode-compliance 0.82s → 1.82s (sublinear, 2.2× for 5× classes), css flat, javac 1.85s → 4.68s. No goal is super-linear. Full VerdictThere is no build-time regression between 7.0.250 and the past two months' versions. Across the whole ladder the compliance/build pipeline is flat-to-slightly-faster; nothing reproduces anything close to the reporter's 90s, and nothing scales pathologically. The reporter's compliance hypothesis specifically doesn't hold — on a tiny project the old ProGuard-based check actually had more fixed overhead than the new ASM one. So the 10s→90s the reporter sees is project-specific, not a plugin version regression. Likely drivers, in order of suspicion:
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks! I have 274 files (this is the slow step: I also checked with ChatGpt which suggested trying this Could there be any stuff left in (or left out of) an old project setup which could explain it? Or is there a way to force parallel build which is not in place for my project? |
Beta Was this translation helpful? Give feedback.
-
|
Interesting. Try running The second should be a bit faster, but I doubt we will see a 90 second to 10 second difference. Then compare that with exact timings to the |
Beta Was this translation helpful? Give feedback.
-
|
First I then did a clean followed by "Run in simulator" and this time the compile step took around 20s. So, not sure what goes on, clearly nothing to do with lack of parallel compilation. My gut feeling was that some changes to my code make the compilation longer, but with the initial clean that doesn't make sense. I was wondering if it could be throttling, but ChatGpt disagrees (and I have nothing heavy running in the background, total cpu 20-30%). Any suggestions would be welcome, because the times when it takes 90s you start scrolling something else and waste a lot more time ;-) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometime back I noticed that the compile time went up quite significantly from almost instantaneous (I haven't measured but maybe 10-20s) to something much slower around 1 minute 30.
I can also see that the compilation seems to run on a single cpu on the M2 (around 100%, sometimes up around 150%) but I never checked this before.
I think this started around the same time when the old compliance check was removed, but not sure if it coincides exactly.
So, I was wondering if something changed that could explain this show down (or if there is anything I could try to get the old speed back)?
Another info: I'm working on project created several years ago, so maybe I'm missing something in my configuration?
Beta Was this translation helpful? Give feedback.
All reactions