Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[performance] BatchImageBuilder: write .class files in batches #2948

Merged
merged 1 commit into from
Sep 25, 2024

Commits on Sep 25, 2024

  1. [performance] BatchImageBuilder: write .class files in batches

    ProcessTaskManager
    * use java.util.concurrent for queue
    * signal Cancel/Exception/Stop via the queue
    * implements AutoCloseable for try-with-resource
    * drain as much Elements as possible from the queue
    
    Improves the performance of "Clean all projects"
    
    For example building platform workspace on Windows
    AbstractImageBuilder.compile(): 120 sec -> 80 sec
    
    With this change the Compiler is actually waiting for parsing most time
    and not for the write to FileSystem anymore.
    EcljpseB0T committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    b330810 View commit details
    Browse the repository at this point in the history