Update compare.sh

This commit is contained in:
Alexander Kuzmenkov 2020-09-23 11:31:18 +03:00 committed by GitHub
parent ab19bb25fd
commit 833c07f1f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,10 @@ trap 'kill $(jobs -pr) ||:' EXIT
stage=${stage:-}
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# https://github.com/jemalloc/jemalloc/wiki/Getting-Started
export MALLOC_CONF="percpu_arena:disabled"
echo "$MALLOC_CONF" > /etc/malloc.conf ||:
function wait_for_server # port, pid
{
for _ in {1..60}