/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 bzrlib/benchmarks/bench_xml.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-16 21:44:15 UTC
  • mto: This revision was merged to the branch mainline in revision 1942.
  • Revision ID: john@arbash-meinel.com-20060816214415-9a64892b53ead826
Passing around the append function rather than the list shaves off another 10%, down to 400ms

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        #                      with Entity escaper:       487ms/11636ms
30
30
        #           caching Entity escaper, empty cache:  448ms/ 9489ms
31
31
        #           caching Entity escaper, full cache:   375ms/ 9489ms
 
32
        #                      passing around function:   406ms/ 8942ms
 
33
        #              cached, passing around function:   328ms/11248ms
32
34
        # Really all we want is a real inventory
33
35
        tree = self.make_kernel_like_committed_tree('.', link_bzr=True)
34
36