D7070: copies: extract data extraction into a `revinfo` function

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Tue Oct 15 03:14:39 EDT 2019


marmoute added a comment.


  In D7070#104100 <https://phab.mercurial-scm.org/D7070#104100>, @martinvonz wrote:
  
  > The extracted function slows down `hg perfpathcopies FIREFOX_BETA_59_END FIREFOX_BETA_60_BASE` (not merge-heavy) from 3.55s to 3.87s, but since you also changed `ctx.p[12]copies()` to `ctx._copies` it ended up being a net speed improvement (3.24s including for the patch as written).
  
  Which method are you using on this repository ? extra+changeset-only ?

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7070/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7070

To: marmoute, #hg-reviewers
Cc: martinvonz, mercurial-devel


More information about the Mercurial-devel mailing list