scorecard: fix argument handling when count and parallel are both 1

Closes #22605
This commit is contained in:
Stefan Eissing 2026-08-17 13:29:34 +02:00 committed by Daniel Stenberg
parent 0c22fcffe3
commit 722362d87b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -445,7 +445,7 @@ class ScoreRunner:
nsamples = meta['samples']
max_parallel = self._download_parallel if self._download_parallel > 0 else count
cols = ['size']
if not self._download_parallel:
if not self._download_parallel or count == 1:
cols.append('single')
if count > 1:
cols.append(f'serial({count})')