dweiss commented on PR #14915: URL: https://github.com/apache/lucene/pull/14915#issuecomment-3046597765
This is what I get when I run this a few times: ``` > time ./gradlew cleanEcjLintMain ecjLintMain -Ptask.times=true ``` * on main: ``` Aggregate task times (possibly running in parallel!): 45.75 sec. ecjLintMain 0.05 sec. cleanEcjLintMain 0.00 sec. errorProneSkipped BUILD SUCCESSFUL in 6s 153 actionable tasks: 75 executed, 78 up-to-date real 0m6.473s user 0m1.806s sys 0m0.232s ``` * on this PR: ``` Aggregate task times (possibly running in parallel!): 8.68 sec. ecjLintMain 0.11 sec. cleanEcjLintMain 0.00 sec. errorProneSkipped BUILD SUCCESSFUL in 4s 152 actionable tasks: 73 executed, 79 up-to-date real 0m4.162s user 0m1.695s sys 0m0.239s ``` So the wall time isn't that much shorter (I do have a multi-core machine though). If I add ```--max-workers 2```, the results show the speedup: * main: ``` BUILD SUCCESSFUL in 22s 153 actionable tasks: 75 executed, 78 up-to-date real 0m23.037s user 0m1.717s sys 0m0.209s ``` * PR: ``` BUILD SUCCESSFUL in 5s 152 actionable tasks: 73 executed, 79 up-to-date real 0m6.015s user 0m1.748s sys 0m0.261s ``` -- 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...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org