Skip to content
Snippets Groups Projects
  1. Oct 19, 2021
  2. Oct 13, 2021
  3. Oct 14, 2021
  4. Oct 19, 2021
  5. Oct 18, 2021
  6. Oct 19, 2021
  7. Oct 18, 2021
  8. Oct 19, 2021
  9. Oct 18, 2021
  10. Oct 15, 2021
    • Pierre-Yves David's avatar
      dirstate-v2: adds two flag to track the presence of some unrecorded files · dfc5a505
      Pierre-Yves David authored
      Right now, we don't record ignored or unknown files in the dirstate. However
      the structure would allow it. So we introduce two flags that can be used to
      clarify whether all unknown/ignored children are recorded or not. This will
      allow for more information to be stored in the future if this end up being
      relevant.
      
      Differential Revision: https://phab.mercurial-scm.org/D11682
      dfc5a505
    • Simon Sapin's avatar
      dirstate-v2: adds a flag to mark a file as modified · 1730b2fc
      Simon Sapin authored
      Right now, a files with a file system state that requires a lookup (same size,
      different mtime) will requires a lookup. If the result of that lookup is a
      modified files, it will remains ambiguous, requiring a lookup on the next status
      run too.
      
      To fix this, we introduce a dedicated flag in the new format. Such flag will
      allow to record such file as "known modified" avoiding an extra lookup later.
      
      As None of the associate code currently exist in the status code, we do the
      minimal implementation: if we read a dirstate entry with this flag set, we make
      it as "ambiguous" so that the next status code has to look it up. The same as it
      would have to without this flag existing anyway.
      
      Differential Revision: https://phab.mercurial-scm.org/D11681
      1730b2fc
  11. Oct 19, 2021
  12. Aug 27, 2021
  13. Oct 14, 2021
  14. Oct 18, 2021
  15. Oct 15, 2021
  16. Oct 14, 2021
  17. Oct 15, 2021
  18. Oct 12, 2021
  19. Oct 14, 2021
  20. Oct 05, 2021
    • Arseniy Alekseyev's avatar
      rhg: stop manifest traversal when no more files are needed · 0cc69017
      Arseniy Alekseyev authored
      Stopping the traversal early can skip a significant part
      of the manifest traversal, to avoid some of its cost.
      
      The worst-case benchmarks are favorable, as well.
      Running [hg cat] on the last file in the manifest of
      a large repo, I'm seeing a ~4ms improvement (150ms -> 146ms),
      so this time is now almost indistinguishable from the
      baseline ("brute force") implementation.
      
      Running [hg cat] on ~220 files together with the last file
      of the repo is further improved by ~5ms or so.
      
      I suspect the raw performance improvements are caused by splitting
      the manifest search and the file data access into separate phases,
      instead of interleaving them.
      
      Differential Revision: https://phab.mercurial-scm.org/D11616
      0cc69017
  21. Oct 04, 2021
Loading