File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ docker run --rm \
6262
6363{
6464 echo " ### ${PLATFORM_LABEL:- unknown} (tokio-multi-thread=${TOKIO_MULTI_THREAD:- false} )"
65+ echo " Threads: $( nproc --all) "
6566 echo " "
6667 echo " | Allocator | Peak KB | Major PF | Minor PF |"
6768 echo " | --- | ---: | ---: | ---: |"
Original file line number Diff line number Diff line change 8888
8989{
9090 echo " ### ${PLATFORM_LABEL:- unknown} (tokio-multi-thread=${TOKIO_MULTI_THREAD:- false} )"
91+ if [[ " $RUNNER_OS " == " Linux" ]]; then
92+ echo " Threads: $( nproc --all) "
93+ elif [[ " $RUNNER_OS " == " macOS" ]]; then
94+ echo " Threads: $( sysctl -n hw.logicalcpu) "
95+ elif [[ " $RUNNER_OS " == " Windows" ]]; then
96+ echo " Threads: $NUMBER_OF_PROCESSORS "
97+ fi
9198 echo " "
9299 echo " | Allocator | Peak KB | Major PF | Minor PF |"
93100 echo " | --- | ---: | ---: | ---: |"
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ foreach ($allocator in $allocators) {
4747
4848$summary = @ ()
4949$summary += " ### $ ( $env: PLATFORM_LABEL ) (tokio-multi-thread=$tokioOn )"
50+ $summary += " Threads: $ ( $env: NUMBER_OF_PROCESSORS ) "
5051$summary += " "
5152$summary += " | Allocator | Peak KB | Page Faults |"
5253$summary += " | --- | ---: | ---: |"
You can’t perform that action at this time.
0 commit comments