Skip to content

Commit

Permalink
Some fixes for benchmark (#230)
Browse files Browse the repository at this point in the history
* Follow the directory change of async-profiler also in linux

* The -Xcomp turns out to make performance poor
  • Loading branch information
kawamuray committed Mar 26, 2024
1 parent 8dbee5f commit c8bab86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/debm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ if [[ "$*" == *--profile* ]] && [[ "$*" != *--profiler-bin* ]] && ! which profil
curl -L "$url" -o "$dir/async-profiler-${ASYNC_PROFILER_VERSION}-${platform}"
if [[ "$platform" == *".zip" ]]; then
unzip -d $dir "$dir/async-profiler-${ASYNC_PROFILER_VERSION}-${platform}"
mv $dir/*/* $dir/
else
tar zx -C $dir -f "$dir/async-profiler-${ASYNC_PROFILER_VERSION}-${platform}"
fi
mv $dir/*/* $dir/
fi
extra_opts="$extra_opts --profiler-bin=$dir/profiler.sh"
fi
Expand All @@ -50,4 +50,4 @@ if [[ "$*" == *--taskstats* ]] && [[ "$*" != *--taskstats-bin* ]] && ! which jta
extra_opts="$extra_opts --taskstats-bin=$file"
fi

exec java -server -Xmx8g -Xcomp -XX:+UseG1GC -cp "$classpath" com.linecorp.decaton.benchmark.Main $extra_opts "$@"
exec java -Xmx8g -XX:+UseG1GC -cp "$classpath" com.linecorp.decaton.benchmark.Main $extra_opts "$@"

0 comments on commit c8bab86

Please sign in to comment.