You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by GitBox <gi...@apache.org> on 2022/01/25 13:54:17 UTC

[GitHub] [buildstream] abderrahim commented on issue #1541: 1.6.3 performance question

abderrahim commented on issue #1541:
URL: https://github.com/apache/buildstream/issues/1541#issuecomment-1021205057


   So I noticed one instance of this: when I have an element `a.bst` which build-depends on `b.bst` then the order is (running with `--fetchers 1`, and with both elements not in the cache).
   ```
   pull a.bst -> fetch a.bst -> pull b.bst -> fetch b.bst -> build b.bst -> build a.bst
   ```
   For an optimal order, pull/ fetch of `b.bst` should happen before fetch of `a.bst`, because than won't be needed until `b.bst` is built.
   
   I suspect that the problem is having multiple `a.bst`-like elements, all having the same build dependency that gets delayed until all of them are pulled/fetched rather than being pulled/fetched as soon as we figure out we need it to build other stuff.


-- 
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-unsubscribe@buildstream.apache.org

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