[misc] Minor updates
This commit is contained in:
parent
8e8f4e6d77
commit
ad089651b1
2 changed files with 3 additions and 3 deletions
|
@ -505,7 +505,7 @@
|
||||||
prlimit -n262144 -- \
|
prlimit -n262144 -- \
|
||||||
sudo -u "${USER}" -n -E -P -- \
|
sudo -u "${USER}" -n -E -P -- \
|
||||||
env -i -- \
|
env -i -- \
|
||||||
"$( type -P -- wrk )" \
|
./.bin/wrk \
|
||||||
--threads 2 \
|
--threads 2 \
|
||||||
--connections 1 \
|
--connections 1 \
|
||||||
--timeout 1s \
|
--timeout 1s \
|
||||||
|
@ -530,7 +530,7 @@
|
||||||
prlimit -n262144 -- \
|
prlimit -n262144 -- \
|
||||||
sudo -u "${USER}" -n -E -P -- \
|
sudo -u "${USER}" -n -E -P -- \
|
||||||
env -i -- \
|
env -i -- \
|
||||||
"$( type -P -- wrk )" \
|
./.bin/wrk \
|
||||||
--threads 2 \
|
--threads 2 \
|
||||||
--connections 1 \
|
--connections 1 \
|
||||||
--timeout 1s \
|
--timeout 1s \
|
||||||
|
|
|
@ -17,7 +17,7 @@ func main () () {
|
||||||
|
|
||||||
runtime.GOMAXPROCS (2)
|
runtime.GOMAXPROCS (2)
|
||||||
|
|
||||||
debug.SetGCPercent (50)
|
debug.SetGCPercent (-1)
|
||||||
debug.SetMaxThreads (128)
|
debug.SetMaxThreads (128)
|
||||||
debug.SetMaxStack (16 * 1024)
|
debug.SetMaxStack (16 * 1024)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue