souhailaS opened a new pull request, #21110:
URL: https://github.com/apache/echarts/pull/21110

   
   ## Brief Information
   
   There is a an optimization opportunity for the `ci.yml` workflow, by taken 
advantage of shared cashing across the two jobs.  There is no need to have a 
separate cache for each of the jobs.
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [x] new feature
   - [ ] others
   
   ### What does this PR do?
   
   The PR simplifies the workflow while preserving all it functionalities.  
Both jobs install the same dependencies, so they can share the same cache 
instead of having separate lint-and build-cache keys. Which increase cache hit 
rates.
   
   ### Change impact
   - Shared caching: Both jobs now use the same cache key, so the second job 
can reuse the first job's cached dependencies
   - Cleaner configuration: Removed unnecessary environment variables
   - Same functionality: All the same commands run in the same order with 
identical results
   
   You can compare the CPU time taken by the workflow with the test runs in 
here: https://github.com/souhailaS/echarts/actions/runs/16315916920
   
   ### Other information
   We are a team of researchers from University of Zurich 
(https://www.ifi.uzh.ch/en/zest.html) currently working on automating energy 
optimizations in GitHub Actions workflows. This optimization maintains full 
functionality while reducing computational overhead and energy consumption.
   
   [souhaila.serb...@uzh.ch](mailto:souhaila.serb...@uzh.ch)
   


-- 
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: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to