dweiss opened a new pull request, #15386:
URL: https://github.com/apache/lucene/pull/15386

   Google java format is quite costly. When a full build is triggered (for some 
reason), it takes significant resources to check and reformat files that 
couldn't possibly have changed. 
   
   I've added a local file state cache to both tasks that invoke google java 
format. Each file's state is based on its length and last modification 
timestamp (much like rsync does it). Any files for which the cache indicates no 
changes will be omitted in checks. 
   
   This makes google java format practically a zero-cost operation after the 
first initial run (unless you clean the build folders, that is).


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to