File: day_313__optimisation.mdwn

package info (click to toggle)
git-annex 8.20210223-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 68,764 kB
  • sloc: haskell: 70,359; javascript: 9,103; sh: 1,304; makefile: 212; perl: 136; ansic: 44
file content (7 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
Been doing a little bit of optimisation work. Which meant, first improving
the --debug output to show fractions of a second, and show when commands
exit.

That let me measure what takes up time when downloading files from ssh remotes.
Found one place I could spawn a thread to run a cleanup action, and this simple
change reduced the non-data-transfer overhead to 1/6th of what it had been!