kazutoiris opened a new pull request, #5330:
URL: https://github.com/apache/linkis/pull/5330

   ### What is the purpose of the change
   
   * Enhanced CI build performance with parallel execution support.
   * Introduced a `quick` build profile, enabling repeated builds in just 25% 
of the original duration.
   
   ### Related issues/PRs
   
   Related issues: close #5321
   
   ### Brief change log
   
   Based on data from **[GitHub 
Action](https://github.com/kazutoiris/linkis/actions/runs/21126956067)**, the 
table below compares Maven build performance across 4 configurations using `mvn 
package`.
   
   Build profiles are defined as:
   
   - **Cold build**: First execution (no prior artifacts).
   - **Warm build**: After `mvn clean` followed by re-execution.
   - **Hot build**: Without `clean`, directly re-executing after a successful 
build.
   
   Parameters were activated:
   
   - `-Pquick` for `quick` builds.
   - `-T 4C` for `parallel` builds.
   
   | Profile                 | Cold Build Time (s) | Warm Build Time (s) | Hot 
Build Time (s) |
   | ----------------------- | ------------------- | ------------------- | 
------------------ |
   | normal build            | 1056 (1.95x)        | 1046 (1.96x)        | 615 
(4.18x)        |
   | normal build (parallel) | 998 (1.84x)         | 994 (1.86x)         | 588 
(4.00x)        |
   | quick build             | 658 (1.22x)         | 650 (1.22x)         | 205 
(1.39x)        |
   | quick build (parallel)  | 541 (1.00x)         | 534 (1.00x)         | 147 
(1.00x)        |
   
   * `quick` profiles outperform `normal` by 1.2–4.2×.
   * Parallel execution reduces build times by ~1.8–4.2× compared to 
non-parallel variants.
   
   ### Checklist
   
   - [x] I have read the [Contributing Guidelines on pull 
requests](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#pull-requests).
   - [x] I have explained the need for this PR and the problem it solves
   - [x] I have explained the changes or the new features added to this PR
   - [ ] I have added tests corresponding to this change
   - [ ] I have updated the documentation to reflect this change
   - [x] I have verified that this change is backward compatible (If not, 
please discuss on the [Linkis mailing 
list](https://linkis.apache.org/community/how-to-subscribe) first)
   - [ ] **If this is a code change**: I have written unit tests to fully 
verify the new behavior.
   


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