conderls edited a comment on issue #570:
URL: https://github.com/apache/maven-mvnd/issues/570#issuecomment-1008721913

   I also did a benchmark with two scala projects, which have about 30 
subprojects:
   - flow-all: without maven-shade-plugin, 
   - offline-all: with maven-shade-plugin to build **fat-jar**  which required 
for spark task.
   
   using commands for both mvn/mvnd: `mvn -pl $PROJECT -am spotless:apply clean 
--no-snapshot-updates $PHASE`, while extra opts for:
   - `mvn`: `-T 1C`
   - `mvnd`:  `-Dquickly -Dmvnd.maxHeapSize=8G`
   
   ## reuslt
   
   |  PROJECT    | PHASE    |   mvn(s)    | mvnd(s)     |
   |:-----------:|:--------:|:-----------:|:------------|
   |  flow-all   | install  | 215/253/238/219/208/205(avg=223) | 
254/259/245/205/230/209(avg=233) |
   | offline-all | package  |       416/433/431/443(avg=430)      |      
412/431/418/398/411/409(avg=413) |
   
   the performance of compilation and build is quite close to each other.
   
   by the way, it is time-consuming to build fat-jar with maven-shade-plugin, 
is there better way to create fat-jar for spark jobs?
   


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to