/breezy/3.0

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/3.0

« back to all changes in this revision

Viewing changes to breezy/graph.py

  • Committer: Breezy landing bot
  • Author(s): Vincent Ladeuil
  • Date: 2019-03-06 11:29:23 UTC
  • mfrom: (7304.1.2 3.0)
  • Revision ID: breezy.the.bot@gmail.com-20190306112923-4j11qd9eo5kk8h8i
Release 3.0.0

Merged from https://code.launchpad.net/~vila/brz/3.0.0/+merge/364029

Show diffs side-by-side

added added

removed removed

Lines of Context:
612
612
        # In the common case, we don't need to spider out far here, so
613
613
        # avoid doing extra work.
614
614
        if step_all_unique:
615
 
            tstart = time.clock()
 
615
            tstart = osutils.perf_counter()
616
616
            nodes = all_unique_searcher.step()
617
617
            common_to_all_unique_nodes.update(nodes)
618
618
            if 'graph' in debug.debug_flags:
619
 
                tdelta = time.clock() - tstart
 
619
                tdelta = osutils.perf_counter() - tstart
620
620
                trace.mutter('all_unique_searcher step() took %.3fs'
621
621
                             'for %d nodes (%d total), iteration: %s',
622
622
                             tdelta, len(nodes), len(all_unique_searcher.seen),