Files
proton-drive-linux/crates/pdfs-cli
nvrl 2d5ec1bd08 feat(fuse,core,cli): trace where each sync pass spends its time
Each pass over a mirror folder now records how long its stages take
(lock wait, baseline, local walk, remote walk, plan, apply, cleanup).
It also records the count and the total and max time of each kind of
Drive call and applied op, how many items each stage handled, and the
slowest folder listing on Drive.

The trace is logged as "sync: pass trace" when a pass ends, is cut
short or runs longer than 30 s. The running pass and the last pass
over each folder go out in SyncEngineState::traces, which
`pdfs diagnostics` prints.

The new sim test found that a file uploaded by a pass gets a baseline
row without a revision id: Drive does not list the node at once, and
the upload returns only its uid. Since B294, the next pass reads such
a file in full once and records the id.
2026-11-25 14:52:56 +01:00
..