Mercurial > public > mercurial-scm > hg
view rust/hg-core/src/config.rs @ 48973:e2f8ed37201c stable
rust-status: cap the number of concurrent threads to 16
During benchmarking it was determined that the use of more threads is very
advantageous... until we use more than 16. This is most likely due to some
resource contention (thrashing, etc.). Until we have time to figure out and
fix the underlying cause, let's just cap at 16 threads.
Differential Revision: https://phab.mercurial-scm.org/D12384
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Fri, 18 Mar 2022 16:15:44 +0100 |
parents | 39c447e03dbc |
children | 6939d5ed20e0 |
line wrap: on
line source
// config.rs // // Copyright 2020 // Valentin Gatien-Baron, // Raphaël Gomès <rgomes@octobus.net> // // This software may be used and distributed according to the terms of the // GNU General Public License version 2 or any later version. //! Mercurial config parsing and interfaces. mod config; mod layer; mod values; pub use config::{Config, ConfigSource, ConfigValueParseError}; pub use layer::{ConfigError, ConfigOrigin, ConfigParseError};