aIbrahiim commented on PR #38864:
URL: https://github.com/apache/beam/pull/38864#issuecomment-4664694769

   I looked at PreCommit PythonDocker timings over the last ~40 workflow runs.
   
   **3.14 is slower on average** (~29 min vs ~18–20 min for 3.10–3.13). Some 
successful 3.14 builds take **40–51 min**, which explains hits on the old 45 
min timeout. The failing job linked above (attempt 1 ~43 min) succeeded on 
retry in ~24 min with the same code, so a lot of this looks like runner/cache 
variance, not a fixed regression.
   
   **I don't think #38765 is the cause.** `upgrade_bundled_pip.py` only 
downloads one pip wheel (seconds). Before the fix, `upgrade_ensurepip` failed 
fast on 3.12+ anyway.
   
   More likely drivers: fewer py3.14 wheels (more source builds during `pip 
install`), weaker Docker cache for the newest base image, plus license pull 
overhead.
   
   Bumping timeout to 60 min is a reasonable mitigation. A deeper optimization 
would need Docker build profiling (which layer dominates on 3.14) — happy to 
follow up if we want that.
   


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

Reply via email to