mirror of
https://github.com/restic/restic.git
synced 2026-10-11 04:27:12 +00:00
docs: document profiling options a bit better
Previously, the docs were a bit mysterious about what "enables profiling support" means or how one could take advantage of it.
This commit is contained in:
1 parent
4686a12a2d
commit
67a572fa0d
1 file changed
+4
-2
@@ -71,8 +71,10 @@ The program can be built with debug support like this:
|
||||
$ go run build.go -tags debug
|
||||
|
||||
This will make the ``restic debug <subcommand>`` available which can be used to
|
||||
inspect internal data structures. In addition, this enables profiling support
|
||||
which can help with investigation performance and memory usage issues.
|
||||
inspect internal data structures. In addition, this enables profiling flags such
|
||||
as ``--cpu-profile`` and ``--mem-profile`` which can help with investigation
|
||||
performance and memory usage issues. See ``restic help`` for more details and a
|
||||
few additional ``--...-profile`` flags.
|
||||
|
||||
|
||||
************
|
||||
|
||||
Reference in new issue
Block a user