You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/01/10 10:16:06 UTC

[GitHub] [maven-mvnd] conderls commented on issue #570: not fast

conderls commented 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) |
   
   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-unsubscribe@maven.apache.org

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