/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/developers/profiling.txt

  • Committer: Jelmer Vernooij
  • Date: 2019-01-02 18:49:15 UTC
  • mto: This revision was merged to the branch mainline in revision 7235.
  • Revision ID: jelmer@jelmer.uk-20190102184915-0da9k4jk49kql994
Fix import for git-objects.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
information. In the simpliest case, the ``--lsprof`` option can be used as
9
9
shown below::
10
10
 
11
 
  bzr --lsprof ...
 
11
  brz --lsprof ...
12
12
 
13
13
This will dump the profiling information to stdout before exiting.
14
14
Alternatively, the ``--lsprof-file`` option can be used to specify a filename
28
28
in combination with KCacheGrind to visualize what the ``status`` command
29
29
is doing::
30
30
 
31
 
  bzr --lsprof-file callgrind.out.st001 status
 
31
  brz --lsprof-file callgrind.out.st001 status
32
32
  kcachegrind callgrind.out.st001 &
33
33
 
34
 
.. Note:: bzr also has a ``--profile`` option that uses the hotshot profiler
 
34
.. Note:: brz also has a ``--profile`` option that uses the hotshot profiler
35
35
   instead of the lsprof profiler. The hotshot profiler can be useful
36
36
   though the lsprof one is generally recommended. See
37
37
   http://docs.python.org/lib/node795.html.
49
49
identifying unnecessary lock traffic.  This is activated by the ``-Dlock``
50
50
global option.
51
51
 
52
 
This writes messages into ``~/.bzr.log``.
 
52
This writes messages into ``~/.brz.log``.
53
53
At present this only logs actions relating to the on-disk lockdir.  It
54
54
doesn't describe actions on in-memory lock counters, or OS locks (which
55
55
are used for dirstate.)