def test_iteration(self):
        no = 0
        nc = 0

        # find the first commit containing the given path - always do a full
        # iteration ( restricted to the path in question ), but in fact it should
        # return quite a lot of commits, we just take one and hence abort the operation

        st = time()
        for c in self.rorepo.iter_commits(self.ref_100):
            nc += 1
            self._query_commit_info(c)
            for obj in c.tree.traverse():
                obj.size
                no += 1
            # END for each object
        # END for each commit
        elapsed_time = time() - st
        print("Traversed %i Trees and a total of %i unchached objects in %s [s] ( %f objs/s )"
              % (nc, no, elapsed_time, elapsed_time / no), file=sys.stderr)
dataset/ETHPy150Open gitpython-developers/GitPython/git/test/performance/test_commit.py/TestPerformance.test_iteration/swapped operands of `/`