-
-
Save Layoric/ee75e380210f29355aeebb746b641bcb to your computer and use it in GitHub Desktop.
setup+benchmarks
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
sudo wget https://cdn.geekbench.com/Geekbench-6.1.0-LinuxARMPreview.tar.gz | |
sudo tar -xf Geekbench-6.1.0-LinuxARMPreview.tar.gz | |
cd Geekbench-6.1.0-LinuxARMPreview | |
./geekbench6 | |
echo "COMPLETED!" |
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
sudo wget https://cdn.geekbench.com/Geekbench-6.1.0-Linux.tar.gz | |
sudo tar -xf Geekbench-6.1.0-Linux.tar.gz | |
cd Geekbench-6.1.0-Linux | |
./geekbench6 | |
echo "COMPLETED!" |
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
sudo apt-get update | |
sudo apt-get -y install ca-certificates curl gnupg | |
sudo install -m 0755 -d /etc/apt/keyrings | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg | |
sudo chmod a+r /etc/apt/keyrings/docker.gpg | |
echo \ | |
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ | |
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ | |
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
sudo apt-get update | |
sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin | |
sudo apt-get install -y make | |
git clone https://github.com/Layoric/pgbench-docker.git | |
cd pgbench-docker | |
sudo docker compose up -d postgres | |
chmod +x ./benchmark.sh | |
sleep 10 | |
sudo ./benchmark.sh > run1.txt | |
sleep 5 | |
sudo ./benchmark.sh > run2.txt | |
sleep 5 | |
sudo ./benchmark.sh > run3.txt | |
echo "COMPLETED!" |
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
git clone https://github.com/Layoric/ArmBenchmarks.git | |
cd ArmBenchmarks | |
sudo docker compose run app-migration | |
sleep 5 | |
sudo docker compose run benchmark-client > run1.txt | |
sleep 5 | |
sudo docker compose run benchmark-client > run2.txt | |
sleep 5 | |
sudo docker compose run benchmark-client > run3.txt | |
echo "COMPLETED!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment