summaryrefslogtreecommitdiff
path: root/faq/profiling.mdwn
blob: 2732708cefe503b3d5eb9cf495887bf982e4984a (plain)
1
2
3
4
5
6
7
8
[[!meta title="How can I profile obnam if things get slow?"]]

If the `OBNAM_PROFILE` environment variable contiains a file name, the profiling data gets stored there, and can be viewed later with `obnam-viewprof`:

    OBNAM_PROFILE=obnam.prof obnam ...
    obnam-viewprof obnam.prof | less

Performance issues that are not related to a particular setup can also be observed using the [[obnam-benchmark|obnam-benchmark.1.txt]] tool.