forked from protocolbuffers/protobuf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OSS benchmark script improvements: use java 11, remove tcmalloc, remo…
…ve JS (protocolbuffers#8918)
- Loading branch information
1 parent
768bc82
commit a8b73fb
Showing
2 changed files
with
26 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# | ||
# Change to repo root | ||
cd $(dirname $0)/../../.. | ||
|
||
set -ex | ||
|
||
# Install openJDK 11 (required by the java benchmarks) | ||
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 78BD65473CB3BD13 | ||
sudo add-apt-repository ppa:openjdk-r/ppa | ||
sudo apt-get update | ||
sudo apt-get install -y openjdk-11-jdk-headless | ||
|
||
# use java 11 | ||
sudo update-java-alternatives --set /usr/lib/jvm/java-1.11.0-openjdk-amd64 | ||
java -version | ||
|
||
./tests.sh benchmark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters