Skip to content
Snippets Groups Projects
  1. Jun 22, 2023
  2. Jun 21, 2023
  3. Jun 19, 2023
  4. May 23, 2023
  5. Jun 01, 2023
  6. Jun 20, 2023
  7. Jun 19, 2023
  8. Jun 17, 2023
  9. Apr 20, 2023
  10. Apr 17, 2023
  11. Jun 12, 2023
    • Raphaël Gomès's avatar
      match: add `filepath:` pattern to match an exact filepath relative to the root · 1c31b343
      Raphaël Gomès authored
      It's useful in certain automated workflows to make sure we recurse in
      directories whose name conflicts with files in other revisions.
      
      In addition it makes it possible to avoid building a potentially costly regex,
      improving performance when the set of files to match explicitly is large.
      
      The benchmark below are run in the following configuration :
       # data-env-vars.name             = mozilla-central-2018-08-01-zstd-sparse-revlog
       # benchmark.name                 = files
       # benchmark.variants.rev         = tip
       # benchmark.variants.files       = all-list-filepath-sorted
       # bin-env-vars.hg.flavor         = no-rust
      
      It also includes timings using the re2 engine (through the `google-re2` module)
      to show how much can be saved by just using a better regexp engine.
      
      
      Pattern                time (seconds)        time using re2
      -----------------------------------------------------------
      just "."                0.4                    0.4
      list of "filepath:…"    1.3                    1.3
      list of "path:…"       25.7                    3.9
      list of patterns       29.7                   10.4
      
      As you can see, Without re2, using "filepath:" instead of "path:" is a huge
      win. With re2, it is still about three times faster to not have to build the
      regex.
      1c31b343
  12. Jun 17, 2023
  13. Jun 15, 2023
  14. Jun 09, 2023
  15. Jun 17, 2023
  16. Jun 20, 2023
    • Pierre-Yves David's avatar
      backout: remove db9b6ce803a9 · b9a35576
      Pierre-Yves David authored
      That changeset lost its topic for unknown reason and ended up being picked by
      some automation. So I backout it previous incarnation until it can get properly
      reviewed.
      b9a35576
  17. Jun 19, 2023
  18. Jun 17, 2023
  19. Jun 13, 2023
    • Raphaël Gomès's avatar
      rust-dependencies: switch from `users` to `whoami` · d39ac346
      Raphaël Gomès authored
      `users` is unmaintained, with the maintainer apparently MIA. `whoami` is a
      popular crate that does simple wrapping of platform-specific calls.
      
      This makes the overhead from using `blackbox` lower. It used to be up 10ms
      on slower hardware for both calls, now down to <1ms which is always good.
      d39ac346
Loading