File: day_416__measure_twice.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 (8 lines) | stat: -rw-r--r-- 384 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
Only had a couple hours today, which were spent doing some profiling of
git-annex in situations where it has to look through a large working tree in
order to find files to act on. The top five hot spots this found are
responsible for between 50% and 80% of git-annex's total CPU use in these
situations.

The first optimisation sped up `git annex find` by around 18%.
More tomorrow..