diff mercurial/configitems.py @ 46627: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
line wrap: on
line diff
--- a/mercurial/configitems.py	Tue Jan 05 21:02:00 2021 +0100
+++ b/mercurial/configitems.py	Wed Jan 06 14:09:01 2021 +0100
@@ -700,6 +700,11 @@
 )
 coreconfigitem(
     b'devel',
+    b'copy-tracing.multi-thread',
+    default=True,
+)
+coreconfigitem(
+    b'devel',
     b'debug.extensions',
     default=False,
 )