Commits on Source (20)
-
Javier Jardón authored
-
Jürg Billeter authored
.gitlab-ci.yml: allow "test-wsl" to fail until runner problems are sorted out See merge request !1145
-
Jürg Billeter authored
Increasing buffer size from 4 kB to 64 kB speeds up read() bandwidth by factor 4, according to a very simple benchmark.
-
Jürg Billeter authored
Increasing buffer size from 4 kB to 64 kB speeds up read() bandwidth by factor 4, according to a very simple benchmark.
-
Jürg Billeter authored
Increase read buffer size to improve performance See merge request !1142
-
Chandan Singh authored
At present, there isn't an easy way to print anything from `bst show` that would give the users an idea of what the dependency graph looks like. One could use things like `--deps build`, but that will just print a list, without any information about the dependency edges. Add `%{deps}`, `%{build-deps}` and `%{runtime-deps}` format strings to `bst show` that would simply print the list of all dependencies, build dependencies and runtime dependencies respectively. Summary of changes: * buildstream/_frontend/cli.py: Add help for new format symbols. * buildstream/_frontend/widget.py: Add support for new format symbols for dependencies. * tests/frontend/show.py: Add tests for new format symbols.
-
Chandan Singh authored
-
Chandan Singh authored
_frontend: Allow printing dependencies using `bst show` Closes #890 See merge request !1121
-
Javier Jardón authored
-
Javier Jardón authored
-
Javier Jardón authored
Fedora 29 includes python 3.7 so this is not needed anymore
-
Javier Jardón authored
.gitlab-ci.yml: Test with current fedora release: 29 See merge request !1137
-
Daniel Silverstone authored
We were indiscriminately retrieving the node's provenance data in the `node_get()` function which was accounting for approximately a third of the total runtime of `node_get()` which dominates pre-scheduler time in `bst build`. This change ameliorates that situation by only retrieving the provenance data when it's actually needed. Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-
Daniel Silverstone authored
We know that nodes are typically one of: str, list, dict, bool, tuple, NoneType or our ChainMap Of these, dict and ChainMap are Mapping, only list is list and the rest are returned unchanged. We can reduce/defer our use of isinstance here, dramatically, improving performance. Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-
Daniel Silverstone authored
A non-trivial proportion of time pre-scheduler in `bst build` is spent copying (or chain-copying) nodes. Approximately a quarter of the time spent in that effort is in `isinstance()`. This removes that CPU load. Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-
Daniel Silverstone authored
By re-using the isinstance replacements from earlier commits and using a tuple of the string constants for checking for composition markers, we reduce the cost of node_final_assertions by two thirds in basic testing. Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-
Daniel Silverstone authored
While get_strict() doesn't look expensive per-se, it is called so many times that it is valuable to cache the result once computed. Since I don't think it can change once it is computable, cache it immediately that becomes possible and we save 20s in my test case. Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-
Benjamin Schubert authored
Further optimisations See merge request !1131
-
This was broken by 5ef19a0b.
-
If we introduce an exact same object with execution rights as existing file without execution right, we should not expect that the files suddenly get execution rights. This breaks reproducibility and it is easy to encounter. For example install an empty file with execution rights. Or copy files from another artifact and `chmod +x` it.
Showing
- .gitlab-ci.yml 11 additions, 15 deletions.gitlab-ci.yml
- buildstream/_cas/cascache.py 77 additions, 45 deletionsbuildstream/_cas/cascache.py
- buildstream/_cas/casserver.py 1 addition, 1 deletionbuildstream/_cas/casserver.py
- buildstream/_context.py 9 additions, 6 deletionsbuildstream/_context.py
- buildstream/_frontend/cli.py 3 additions, 0 deletionsbuildstream/_frontend/cli.py
- buildstream/_frontend/widget.py 22 additions, 1 deletionbuildstream/_frontend/widget.py
- buildstream/_yaml.py 92 additions, 24 deletionsbuildstream/_yaml.py
- buildstream/utils.py 1 addition, 1 deletionbuildstream/utils.py
- man/bst-artifact-checkout.1 1 addition, 1 deletionman/bst-artifact-checkout.1
- man/bst-artifact-log.1 1 addition, 1 deletionman/bst-artifact-log.1
- man/bst-artifact-pull.1 1 addition, 1 deletionman/bst-artifact-pull.1
- man/bst-artifact-push.1 1 addition, 1 deletionman/bst-artifact-push.1
- man/bst-artifact-server.1 1 addition, 1 deletionman/bst-artifact-server.1
- man/bst-artifact.1 1 addition, 1 deletionman/bst-artifact.1
- man/bst-build.1 4 additions, 1 deletionman/bst-build.1
- man/bst-help.1 1 addition, 1 deletionman/bst-help.1
- man/bst-init.1 1 addition, 1 deletionman/bst-init.1
- man/bst-shell.1 1 addition, 1 deletionman/bst-shell.1
- man/bst-show.1 4 additions, 1 deletionman/bst-show.1
- man/bst-source-checkout.1 1 addition, 1 deletionman/bst-source-checkout.1