ham1 opened a new issue, #6869:
URL: https://github.com/apache/jmeter/issues/6869

   The macOS jobs are the slowest part of CI: 27-67 min on upstream.
   
   In `main.yml`, `setup-java` is set to `x64`.
   This was added in 75754ce63 (2022), when `macos-latest` runners were Intel.
   They are now Apple Silicon, so the x64 JDK runs under Rosetta emulation.
   
   Is there a reason to keep testing x64 Java on macOS that I'm missing?
   
   | Java architecture | Build time (2 runs) |
   |---|---|
   | x64 (Rosetta) | 1h 1m, 1h 5m |
   | arm64 (native) | 19m 45s, 15m 5s |
   | arm64 (native), `--parallel` | 10m 23s, 12m 26s |
   
   Runs: https://github.com/ham1/jmeter/actions/runs/46203458724 and, for 
`--parallel`, https://github.com/ham1/jmeter/actions/runs/46206095350
   The `--parallel` runs include the flaky test fixes from #6866; switching 
from `--no-parallel` could be a separate change after that is merged.
   
   ### Possible solution
   
   1. Drop `x64`. CI would then also test arm64 Java, which it doesn't do today.
   2. Test both: arm64 on `macos-latest` and x64 on `macos-26-intel`.
   3. Keep x64 under Rosetta.
   
   I lean towards 1, as Windows already covers x64 Java, but I'm curious 
whether anyone relies on x64 macOS coverage.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to