dweiss commented on PR #14804:
URL: https://github.com/apache/lucene/pull/14804#issuecomment-2987375548

   FYI - spotless runs google java format in a single-thread, that's part of 
the reason it's sluggish. But it's still an order of magnitude slower than the 
c parser. I ran this, for the fun of it (this uses multiple threads for 
parsing):
   ```
   > find . -name "*.java" > files.in
   > wc -l files.in
   5973 files.in
   > time java -jar ~/tmp/google-java-format-1.27.0-all-deps.jar  -n 
--skip-reflowing-long-strings --skip-javadoc-formatting 
--skip-removing-unused-imports @files.in
   real 0m5.338s
   user 2m7.927s
   sys  0m6.549s
   ```
   Compare to tree-sitter's 7 seconds, it's rather pale.


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

Reply via email to