Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mercurial-devel mercurial-devel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar

April 05-07 - Mercurial Paris Conference 2023 - One day of workshop dedicated to Heptapod and Mercurial usage and workflow. There are still places available for both workshops and talks!

  • mercurialmercurial
  • mercurial-develmercurial-devel
  • Merge requests
  • !394

make the pre-[hg update] checks faster (part 2)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Arseniy Alekseyev requested to merge topic/default/faster-pre-update-checks-part2 into branch/default Jan 12, 2023
  • Overview 28
  • Commits 7
  • Pipelines 14
  • Changes 4

This contains the more intrusive/less impactful optimizations that I left for later. This is much less important than !388 (merged), so please prioritize that if you have to choose when reviewing.

Benchmarks go something like this (this time on a real FS instead of a ramdisk, so a bit worse and noisier than the previous bench):

Benchmark: hg update tip --config devel.debug.abort-update=1
s0. Time (mean ± σ):     11.832 s ±  0.137 s
s1. Time (mean ± σ):      8.338 s ±  0.086 s
s2. Time (mean ± σ):      8.295 s ±  0.117 s 
s3. Time (mean ± σ):      8.210 s ±  0.031 s
s4. Time (mean ± σ):      5.828 s ±  0.077 s
s5. Time (mean ± σ):      5.308 s ±  0.043 s
s6. Time (mean ± σ):      5.207 s ±  0.033 s
s7. Time (mean ± σ):      4.921 s ±  0.049 s
Edited Jan 17, 2023 by Raphaël Gomès
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: topic/default/faster-pre-update-checks-part2