Mercurial > hg
comparison mercurial/configitems.py @ 46588:47557ea79fc7
copies-rust: move CPU-heavy Rust processing into a child thread
… that runs in parallel with the parent thread fetching data.
This can be disabled through a new config. CLI example:
hg --config=devel.copy-tracing.multi-thread=no
For now both threads use the GIL, later commits will reduce this.
Differential Revision: https://phab.mercurial-scm.org/D9684
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Wed, 06 Jan 2021 14:09:01 +0100 |
parents | d57e607d9e33 |
children | e9901d01d135 |
comparison
equal
deleted
inserted
replaced
46587:cb4b0b0c6de4 | 46588:47557ea79fc7 |
---|---|
698 b'debug.copies', | 698 b'debug.copies', |
699 default=False, | 699 default=False, |
700 ) | 700 ) |
701 coreconfigitem( | 701 coreconfigitem( |
702 b'devel', | 702 b'devel', |
703 b'copy-tracing.multi-thread', | |
704 default=True, | |
705 ) | |
706 coreconfigitem( | |
707 b'devel', | |
703 b'debug.extensions', | 708 b'debug.extensions', |
704 default=False, | 709 default=False, |
705 ) | 710 ) |
706 coreconfigitem( | 711 coreconfigitem( |
707 b'devel', | 712 b'devel', |