contrib/perf.py
branchstable
changeset 30219 3c8811efdddc
parent 30150 c0410814002f
child 30307 c8fa7ad1ff90
equal deleted inserted replaced
30218:1767723f71cf 30219:3c8811efdddc
   405     timer, fm = gettimer(ui, opts)
   405     timer, fm = gettimer(ui, opts)
   406     svfs = getsvfs(repo)
   406     svfs = getsvfs(repo)
   407     repocleartagscache = repocleartagscachefunc(repo)
   407     repocleartagscache = repocleartagscachefunc(repo)
   408     def t():
   408     def t():
   409         repo.changelog = mercurial.changelog.changelog(svfs)
   409         repo.changelog = mercurial.changelog.changelog(svfs)
   410         repo.manifest = mercurial.manifest.manifest(svfs)
   410         repo.manifestlog = mercurial.manifest.manifestlog(svfs, repo)
   411         repocleartagscache()
   411         repocleartagscache()
   412         return len(repo.tags())
   412         return len(repo.tags())
   413     timer(t)
   413     timer(t)
   414     fm.end()
   414     fm.end()
   415 
   415