Skip to content
Snippets Groups Projects
  1. Feb 15, 2024
  2. Feb 14, 2024
  3. Feb 13, 2024
    • Martin von Zweigbergk's avatar
      docs: fix broken `make` in `docs/` · 0f3a091d887b
      Martin von Zweigbergk authored
      We had some wrapped lines without blank lines between, which made the runrst
      script think the list was not a list and it got confused about the
      indentation. I added blank lines, and also some other minor styling for
      consistency with the rest of the file.
      0f3a091d887b
  4. Jan 10, 2024
    • Arseniy Alekseyev's avatar
      branchmap: use mmap for faster revbranchcache loading · 02e7d79edf62
      Arseniy Alekseyev authored
      A typical revbranchmap usage is:
      - load the entire revbranchmap file into memory
      - maybe do a few lookups
      - add a few bytes to it
      - write the addition to disk
      
      There's no reason to load the entire revbranchmap into memory.
      We can split it into a large immutable prefix and a mutable suffix,
      and then memorymap the prefix, thus saving all the useless loading.
      
      Benchmarking on some real-world pushes suggests that out of ~100s server-side
      push handling revbranchcache handling is responsible for:
      
      * ~7s with no change
      * ~1.3s with the change, without mmap
      * 0.04s with the change, with mmap
      02e7d79edf62
  5. Feb 02, 2024
  6. Feb 03, 2024
  7. Feb 02, 2024
  8. Feb 12, 2024
  9. Jan 08, 2024
  10. Feb 02, 2024
  11. Jan 30, 2024
  12. Jan 24, 2024
    • Anton Shestakov's avatar
      tests: use sha256line.py instead of /dev/random in test-censor.t (issue6858) · e7be2ddfb4c2
      Anton Shestakov authored
      Sometimes the systems that run our test suite don't have enough entropy and
      they cannot produce target file of the expected size using /dev/random, which
      results in test failures. Switching to /dev/urandom would give us way more
      available data at the cost of it being less "random", but we don't really need
      to use entropy for this task at all, since we only care if the file size after
      compression is big enough to not be stored inline in the revlog. So let's use
      something that we already have used to generate this kind of data in other
      tests.
      e7be2ddfb4c2
    • Anton Shestakov's avatar
      tests: make sha256line.py available for all tests · fa4c4fa232d6
      Anton Shestakov authored
      This was previously only used in test-revlog-delta-find.t, but it will be
      useful (and used) in other tests that might need to generate
      poorly-compressible files.
      fa4c4fa232d6
  13. Nov 23, 2023
  14. Jan 07, 2024
  15. Nov 23, 2023
  16. Jan 07, 2024
  17. Nov 23, 2023
  18. Jan 07, 2024
  19. Jan 06, 2024
  20. Jan 04, 2024
Loading