Use channels to send data to reporting thread and avoid hangs / mutex / duration. Limit max concurrent tasks to avoid too many open files

This commit is contained in:
James Wilson
2025-08-12 17:17:36 +01:00
parent 9b40c9b9e3
commit 109b082088
2 changed files with 237 additions and 229 deletions
+7 -3
View File
@@ -96,9 +96,13 @@ pub struct Arguments {
#[arg(long, default_value = "1")]
pub number_of_nodes: usize,
/// Determines the amount of threads that will will be used.
#[arg(long, default_value = "12")]
pub number_of_threads: usize,
/// Determines the amount of tokio worker threads that will will be used. Defaults to the number of CPU cores.
#[arg(long)]
pub number_of_threads: Option<usize>,
/// Determines the amount of concurrent tasks that will be spawned to run tests. Defaults to 10 x the number of nodes.
#[arg(long)]
pub number_concurrent_tasks: Option<usize>,
/// Extract problems back to the test corpus.
#[arg(short, long = "extract-problems")]