Skip to content
Snippets Groups Projects
  1. Jan 09, 2021
  2. Jan 11, 2021
  3. Jan 08, 2021
  4. Jan 07, 2021
  5. Jan 09, 2021
  6. Jan 13, 2021
  7. Jan 14, 2021
  8. Jan 15, 2021
  9. Jan 14, 2021
  10. Jan 15, 2021
  11. Jan 14, 2021
  12. Jan 13, 2021
  13. Jan 08, 2021
  14. Jan 13, 2021
  15. Dec 18, 2020
    • Jörg Sonnenberger's avatar
      branchmap: avoid ancestor computations in absence of non-continous branches · c4b792fa109e
      Jörg Sonnenberger authored
      The branchhead computation is one of the more heavy operations for
      bigger repositories as it has to scan all changesets and potentially
      involves the expensive computation of the ancestor sets. Redo the
      computation to handle the common cases directly and use tighter
      conditions for when the ancestor scan is necessary. Most importantly,
      avoid it completely if the non-continous branches are processed in one
      update as seen in the initial computation after a clone.
      
      For the Mercurial repository, it gives a small 2-3% performance boost.
      For the NetBSD test repository, it cuts the time in half.
      
      Differential Revision: https://phab.mercurial-scm.org/D9631
      c4b792fa109e
  16. Jan 12, 2021
  17. Jan 13, 2021
  18. Jan 12, 2021
Loading