gnodet commented on issue #12667:
URL: https://github.com/apache/maven/issues/12667#issuecomment-5457368712

   All PRs listed in this issue have been merged or are ready, and benchmarking 
confirms Maven 4 is now at parity (or faster) with Maven 3.9.16 on the 
4,383-module reactor.
   
   Additionally, a follow-up optimization to the `PathConflictResolver` was 
identified during profiling and submitted as apache/maven-resolver#2075 — it 
eliminates per-node `HashSet` allocation in the `Path` constructor, which was 
consuming ~45% CPU. With this fix, the fully patched Maven 4 completes the 
benchmark in **1:14** vs Maven 3.9.16's **1:20**.
   
   ### Final benchmark summary (Apple M4 Pro, JDK 21, 4,383-module reactor)
   
   | Configuration | Wall time | vs RC6 |
   |---|---|---|
   | Maven 3.9.16 | **1:20** | — |
   | Maven 4.0.0-rc-6 (unpatched) | **2:12** | baseline |
   | + all Maven PRs + resolver 2.0.22 | ~2:25 | — |
   | + PathConflictResolver HashSet elimination (resolver #2075) | **1:21** | 
-39% |
   | + install/deploy plugin v4 PRs | **1:14** | **-44%** |
   
   Closing as the performance goal has been achieved.
   
   _Claude Code on behalf of Guillaume Nodet_


-- 
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