D7121: copies: get copies information directly from _copies

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Wed Oct 16 18:41:54 EDT 2019


marmoute added a comment.


  In D7121#104675 <https://phab.mercurial-scm.org/D7121#104675>, @marmoute wrote:
  
  > In D7121#104674 <https://phab.mercurial-scm.org/D7121#104674>, @martinvonz wrote:
  >
  >> In D7121#104673 <https://phab.mercurial-scm.org/D7121#104673>, @marmoute wrote:
  >>
  >>> In D7121#104672 <https://phab.mercurial-scm.org/D7121#104672>, @martinvonz wrote:
  >>>
  >>>> In D7121#104671 <https://phab.mercurial-scm.org/D7121#104671>, @marmoute wrote:
  >>>>
  >>>>> In D7121#104546 <https://phab.mercurial-scm.org/D7121#104546>, @martinvonz wrote:
  >>>>>
  >>>>>>> […]
  >>>>>>
  >>>>>> So there seems to be a measurable difference. Could just the function call overhead be that whole difference? Anyway, it doesn't seem worth spending time trying to figure out.
  >>>>>
  >>>>> Function call can have a large overhead, how many revision are we talking about here ?
  >>>>
  >>>> 5627
  >>>
  >>> That is not much to be honest. How do you measure this?
  >>
  >> By running exactly the command I shared earlier :P This is a version of mozilla-unified I've created by running `hg convert --config experimental.copies.write-to=changeset-only`.
  >
  > I meant the number of changeset :-)
  
  I did a fresh clone and fished this myself. I indeed see the same number
  
    hg log -T '.\n' -r FIREFOX_BETA_60_BASE%FIREFOX_BETA_59_END | wc -l

REPOSITORY
  rHG Mercurial

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

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

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


More information about the Mercurial-devel mailing list