diff options
| author | tv <tv@krebsco.de> | 2026-12-01 02:35:07 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-01 04:06:02 +0000 |
| commit | cf26dc1f928e9839123bedd1693d792bbb418312 (patch) | |
| tree | 4e38369848754d258c830750a9e71e18ca07e0c7 /pkgs/populate/README.md | |
| parent | 9cbe2fab9a3fe30ce4218458112ab46e49c6ac7c (diff) | |
populate file: list file sources ahead of their turns, at once
Comparing a file source with filters takes a run of rsync --list-only,
which also checks its .rsync-filter files, and which takes about 50 ms
with nothing to do, rsync waiting for its own processes, one source after
another: 3.6 s of a no-op run with 50 such sources, locally.
rsync::prepare is gather, which runs the commands and prints nothing, and
finish, which checks the filter files with what gather got, with the
messages, and takes the listing. Right after the probe, gather runs for
all file sources whose target paths the probe could list, at most 16 at a
time, and each source's turn finishes. The same run takes 0.85 s, and
the bench's 1.0 s locally takes 0.7 s.
Diffstat (limited to 'pkgs/populate/README.md')
0 files changed, 0 insertions, 0 deletions
