Mercurial > hg
annotate .gitlab/merge_request_templates/Default.md @ 51375:02e7d79edf62
branchmap: use mmap for faster revbranchcache loading
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
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Wed, 10 Jan 2024 18:58:42 +0000 |
parents | 7b6d3a9bd7be |
children |
rev | line source |
---|---|
49216
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
1 /assign_reviewer @mercurial.review |
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
2 |
49535
7b6d3a9bd7be
mr-template: wrap the instructions inside a comment block
Matt Harbison <matt_harbison@yahoo.com>
parents:
49268
diff
changeset
|
3 |
7b6d3a9bd7be
mr-template: wrap the instructions inside a comment block
Matt Harbison <matt_harbison@yahoo.com>
parents:
49268
diff
changeset
|
4 <!-- |
7b6d3a9bd7be
mr-template: wrap the instructions inside a comment block
Matt Harbison <matt_harbison@yahoo.com>
parents:
49268
diff
changeset
|
5 |
49216
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
6 Welcome to the Mercurial Merge Request creation process: |
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
7 |
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
8 * Set a simple title for your MR, |
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
9 * All important information should be contained in your changesets' content or description, |
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
10 * You can add some workflow-relevant information here (eg: when this depends on another MR), |
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
11 * If your changes are not ready for review yet, click `Start the title with Draft:` under the title. |
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
12 |
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
13 More details here: |
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
14 |
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
15 * https://www.mercurial-scm.org/wiki/ContributingChanges |
9ea9445c3223
workflow: add a default template for Merge Request
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
16 * https://www.mercurial-scm.org/wiki/Heptapod |
49535
7b6d3a9bd7be
mr-template: wrap the instructions inside a comment block
Matt Harbison <matt_harbison@yahoo.com>
parents:
49268
diff
changeset
|
17 |
7b6d3a9bd7be
mr-template: wrap the instructions inside a comment block
Matt Harbison <matt_harbison@yahoo.com>
parents:
49268
diff
changeset
|
18 --> |