initial bzr status slow
Is it normal for initial (after-boot) command to take a few seconds? Here's the example - when I first run e.g. "bzr status" in my working copy, it takes ~ 4 seconds for processing. Every next call is OK, but this first one seems a bit long for rather small project. I noticed similar behavior in every other project I have here.
some info from one branch (everything is on local host):
dpkg -s bzr
Version: 1.9-1~bazaar1~
bzr revno
619
bzr --profile status:
[...]
8717 function calls (8632 primitive calls) in 3.241 CPU seconds
Ordered by: cumulative time
List reduced from 655 to 20 due to restriction <20>
ncalls tottime percall cumtime percall filename:
1 0.000 0.000 3.241 3.241 commands.
1 0.000 0.000 3.239 3.239 commands.
1 0.000 0.000 3.239 3.239 builtins.
1 0.000 0.000 3.100 3.100 status.
68/64 0.001 0.000 3.022 0.047 <string>
1 0.000 0.000 2.990 2.990 tree.py:
1 0.000 0.000 2.989 2.989 tree.py:
1 0.020 0.020 2.989 2.989 delta.py:
59 2.940 0.050 2.940 0.050 osutils.
1 0.000 0.000 0.133 0.133 builtins.
1 0.000 0.000 0.133 0.133 builtins.
1 0.000 0.000 0.117 0.117 workingtree.
12 0.082 0.007 0.084 0.007 local.py:153(get)
1 0.000 0.000 0.077 0.077 bzrdir.
1 0.000 0.000 0.068 0.068 workingtree.
1 0.000 0.000 0.068 0.068 workingtree_
2/1 0.000 0.000 0.065 0.065 bzrdir.
1 0.000 0.000 0.054 0.054 branch.
9/8 0.000 0.000 0.051 0.006 lazy_import.
13 0.000 0.000 0.046 0.004 workingtree_
Looks like _walkdirs_utf8 takes most of this time
thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Martin Pool
- Solved:
- Last query:
- Last reply: