We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4d763e commit 2b446deCopy full SHA for 2b446de
samples/bench/src/lib.rs
@@ -41,14 +41,14 @@ const NUM_THREADS: usize = 6;
41
42
/// Stack size to use for the threads.
43
#[cfg(target_pointer_width = "32")]
44
-const THREAD_STACK_SIZE: usize = 4 * 1024;
+const THREAD_STACK_SIZE: usize = 2 * 1024;
45
46
47
#[cfg(target_pointer_width = "64")]
48
const THREAD_STACK_SIZE: usize = 4096;
49
50
/// Stack size to use for the work queue.
51
-const WORK_STACK_SIZE: usize = 4096;
+const WORK_STACK_SIZE: usize = 2048;
52
53
/// This is a global iteration. Small numbers still test functionality within CI, and large numbers
54
/// give more meaningful benchmark results.
0 commit comments