Performance branch vs export
Matt Nordhoff
mnordhoff at mattnordhoff.com
Wed Dec 23 10:42:40 GMT 2009
Tobias Wilken wrote:
> Hey all,
>
> I found a huge performance lost with `bzr export` compared to `bzr branch`.
> export: ~50 sec
> branch: ~12 sec
>
> In my 'productive' environment the bzr branch is located on a glusterfs
> share, but it also occurs if I use bzr+ssh from a normal hard disk.
> I'm using Bazaar (bzr) 2.0.2 version.
>
> A solution would be to use `bzr branch` and deleting the '.bzr' folders,
> because I just want to get the sources without the bzr directories.
> But this is a hack I would like to avoid.
>
> Does someone has a bit more inside knowledge, about the two commands, so
> maybe I can tune my glusterfs config, to increase the performance.
>
> Best regards
> Tobias Wilken
FWIW, there have been some recent (lp:bzr, and maybe in 2.1.0b4) changes
to "export" to improve performance. Specifically, it used to build the
working tree in alphabetical order, and now it builds it in the fastest
order.
Dunno if this matters in your case, or explains the entire difference,
though.
--
Matt Nordhoff
More information about the bazaar
mailing list