Skip to content

Commit 6528a4f

Browse files
committed
content: try to update pkgcruft commands to work with the latest release
1 parent 45dca61 commit 6528a4f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

content/posts/evolving-qa-tooling.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Replay all dev-python/* related reports, returning the total count:
152152

153153
Replay all report variants generated by the Whitespace check:
154154

155-
- `pkgcruft replay -c Whitespace reports.json`
155+
- `pkgcruft replay -r @Whitespace reports.json`
156156

157157
Replay all python update reports:
158158

@@ -169,15 +169,15 @@ semi-recent gentoo repo checkout on a modest laptop with 8 cores/16 threads (AMD
169169
5700U) using a midline SSD are as follows:
170170

171171
- pkgcheck: `pkgcheck scan -c PythonCompatCheck -j16` -- approximately 5s
172-
- pkgcruft: `pkgcruft scan -c PythonUpdate -j16` -- approximately 360ms
172+
- pkgcruft: `pkgcruft scan -r PythonUpdate -j16` -- approximately 360ms
173173

174174
For comparative parallel efficiency, pkgcruft achieves the following with different
175175
amounts of jobs:
176176

177-
- pkgcruft: `pkgcruft scan -c PythonUpdate -j8` -- approximately 420ms
178-
- pkgcruft: `pkgcruft scan -c PythonUpdate -j4` -- approximately 660ms
179-
- pkgcruft: `pkgcruft scan -c PythonUpdate -j2` -- approximately 1.2s
180-
- pkgcruft: `pkgcruft scan -c PythonUpdate -j1` -- approximately 2.4s
177+
- pkgcruft: `pkgcruft scan -r PythonUpdate -j8` -- approximately 420ms
178+
- pkgcruft: `pkgcruft scan -r PythonUpdate -j4` -- approximately 660ms
179+
- pkgcruft: `pkgcruft scan -r PythonUpdate -j2` -- approximately 1.2s
180+
- pkgcruft: `pkgcruft scan -r PythonUpdate -j1` -- approximately 2.4s
181181

182182
Note that these results are approximated averages for multiple runs without flushing
183183
memory caches. Initial runs of the same commands will be slower due to additional I/O
@@ -198,12 +198,12 @@ results for the same check run in those contexts:
198198
Targeting dev-python/*:
199199

200200
- pkgcheck: `pkgcheck scan -c PythonCompatCheck -j16` -- approximately 1s
201-
- pkgcruft: `pkgcruft scan -c PythonUpdate -j16` -- approximately 100ms
201+
- pkgcruft: `pkgcruft scan -r PythonUpdate -j16` -- approximately 100ms
202202

203203
Targeting dev-python/jupyter-server:
204204

205205
- pkgcheck: `pkgcheck scan -c PythonCompatCheck -j16` -- approximately 380ms
206-
- pkgcruft: `pkgcruft scan -c PythonUpdate -j16` -- approximately 25ms
206+
- pkgcruft: `pkgcruft scan -r PythonUpdate -j16` -- approximately 25ms
207207

208208
Note that in the case of targeting a single package with multiple versions, pkgcruft
209209
currently doesn't parallelize per version and thus could possibly half its runtime if that

0 commit comments

Comments
 (0)