diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-12-29 13:16:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-29 13:16:02 +0100 |
commit | e7823145f9c547d95dcb7ad23c36ffe8dff5b50d (patch) | |
tree | a0e6024a1949b9f0ae9b4ef33f8e705dea0e3681 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 497d21412aff51dd217179e4c79253e5ec6477e6 (diff) | |
parent | 96501bdbe491e0232ca74d3a3cc15c26a1716e37 (diff) | |
download | rust-e7823145f9c547d95dcb7ad23c36ffe8dff5b50d.tar.gz |
Rollup merge of #106216 - ChrisDenton:ps-go-faster, r=jyn514
Powershell: Use `WaitForExit` instead of `-Wait`
Using the method `WaitForExit` instead of the parameter `-Wait` results in a notable speed up of the `x.ps1` script (~350ms, fairly consistently).
Results:
```
milliseconds before: 1127.7576
milliseconds after: 779.0467
```
I think there are opportunities for further speed up by calling `Get-Command` only once with the pattern `py*` then filtering the returned list.
But I'll leave that for another time (or someone else).
r? ``@jyn514``
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions