Toastie vor 4 Tagen
Ursprung
Commit
cac9d3ae35
1 geänderte Dateien mit 13 neuen und 0 gelöschten Zeilen
  1. 13 0
      linux/benchmark/passmark.sh

+ 13 - 0
linux/benchmark/passmark.sh

@@ -0,0 +1,13 @@
+mkdir -p pt && chown 1000 pt \
+&& docker run -it --rm \
+-v $PWD/pt:/home/pt debian \
+/bin/sh -c 'apt update \
+&& apt install --yes wget libcurl4 unzip libncurses5 \
+&& cd /opt \
+&& wget https://www.passmark.com/downloads/pt_linux_x64.zip \
+&& unzip pt_linux_x64.zip \
+&& rm pt_linux_x64.zip \
+&& useradd -u 1000 pt \
+&& cd /home/pt \
+&& su -c "/opt/PerformanceTest/pt_linux_x64 -i 1 -d 1 -r 3" pt'
+grep SUM pt/results_all.yml