Skip to content
Snippets Groups Projects
  1. Mar 28, 2024
  2. Mar 25, 2024
    • Pierre-Yves David's avatar
      phases: update the phase set as we go during retract boundary · 4ee50d98d35c
      Pierre-Yves David authored
      Apparently iterating over the `changed_revs` dictionary is very expensive.
      
      On mozilla-try-2019-02-18, a perf::unbundle call with a 10 000 changesets
      bundle gives give use the following timing.
      
      e57d4b868a3e:     4.6 seconds
      ac1c75188440:   102.5 seconds
      prev-changeset:  30.0 seconds
      this-changeset:   4.6 seconds
      
      So, the performance regression is gone.
      
      Once again: thanks to marvelous Python!
      4ee50d98d35c
    • Pierre-Yves David's avatar
      phases: avoid a potentially costly dictionary interation in some case · e0f92bd98c24
      Pierre-Yves David authored
      If we retract for the draft phase, there is not non-public item to be retracted
      and we can skip this part. This part is was apparently super costly thanks to
      Python.
      
      On mozilla-try-2019-02-18, a perf::unbundle call with a 10 000 changesets
      bundle gives give use the following timing.
      
      e57d4b868a3e:     4.6 seconds
      ac1c75188440:   102.5 seconds
      this-changeset:  30.0 seconds
      
      So we recovered about ⅔ of the regression, the next changeset will give us the
      rest back.
      e0f92bd98c24
  3. Mar 21, 2024
  4. Mar 17, 2024
    • Felipe Resende's avatar
      subrepo: fix normalizing paths with scheme · 08913487ae80
      Felipe Resende authored
      After revision 0afe96e374a7, subrepo paths were normalized using
      posixpath.normpath and that resulted in ssh paths being wrongly converted
      from ssh://host/path to ssh:/host/path
      
      This fix applies the same logic used in urlutil.url to split the path scheme
      from the rest and only use posixpath.normpath to the string after scheme://
      08913487ae80
  5. Mar 16, 2024
  6. Mar 18, 2024
  7. Mar 15, 2024
  8. Mar 14, 2024
  9. Mar 13, 2024
    • Anton Shestakov's avatar
      obsutil: sort metadata before comparing in geteffectflag() · a5d8f261b716
      Anton Shestakov authored
      This is probably less important now that we dropped Python 2. We do still
      support Python 3.6 though, and the dictionaries aren't ordered there either
      (that was a big change that came with 3.7).
      
      Still, maybe it's a good idea to sort metadata explicitly.
      a5d8f261b716
  10. Mar 11, 2024
  11. Mar 05, 2024
  12. Feb 29, 2024
  13. Mar 04, 2024
  14. Feb 23, 2024
  15. Jan 17, 2024
    • Georges Racinet's avatar
      chainsaw-update: log actual locks breaking · fe68a2dc0bf2
      Georges Racinet authored
      Previously, the command would simply state that it was about
      to break locks, not if there was actually some to break.
      
      This version is race-free. It would be also possible to display
      the content of the lock before hand (not race-free but informative
      in almost all cases).
      fe68a2dc0bf2
Loading