Skip to content

Commit 6eb7084

Browse files
authored
Merge branch 'main' into cijothomas/pprof
2 parents 28fc70a + d54c18b commit 6eb7084

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stress/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ Throughput: 5,075,400 iterations/sec
4242
"stats" - Prints memory and CPU usage. Has slight impact on throughput.
4343

4444
```sh
45-
cargo run --release --bin metrics --feature=stats
45+
cargo run --release --bin metrics --features=stats
4646
```

stress/src/throughput.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ where
126126

127127
handles.push(handle_main_thread);
128128

129-
for thread_index in 0..num_threads - 1 {
129+
for thread_index in 0..num_threads {
130130
let worker_stats_shared = Arc::clone(&worker_stats_shared);
131131
let func_arc_clone = Arc::clone(&func_arc);
132132
let handle = thread::spawn(move || loop {

0 commit comments

Comments
 (0)