File: day_313__optimisation.mdwn

package info (click to toggle)
git-annex 7.20190129-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,292 kB
  • sloc: haskell: 59,105; sh: 1,255; makefile: 225; 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!