File tree Expand file tree Collapse file tree 3 files changed +25
-2
lines changed
Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ for i in ` ls -d * -app`
3+ do
4+ cd $i
5+
6+ echo $i | tee -a ../results.log
7+
8+ lein clean
9+ lein uberjar
10+ java -jar ./target/uberjar/$i .jar &
11+
12+ sleep 10
13+ echo " Warm up"
14+ wrk -t12 -c400 -d10s http://localhost:8080
15+
16+ echo " benchmark:" | tee -a ../results.log
17+ wrk -t12 -c400 -d60s http://localhost:8080 | tee -a ../results.log
18+ for x in ` jobs -p` ; do kill -9 $x ; done
19+
20+ cd ..
21+ done ;
Original file line number Diff line number Diff line change 99 :repositories {" sonatype-oss-public" " https://oss.sonatype.org/content/groups/public/" }
1010 :main ^:skip-aot catacumba-app.core
1111 :target-path " target/%s"
12- :profiles {:uberjar {:aot :all }})
12+ :profiles {:uberjar {:aot :all
13+ :uberjar-name " catacumba-app.jar" }})
Original file line number Diff line number Diff line change 1010 [yada " 1.2.9" ]]
1111 :main ^:skip-aot yada-app.core
1212 :target-path " target/%s"
13- :profiles {:uberjar {:aot :all }})
13+ :profiles {:uberjar {:aot :all
14+ :uberjar-name " yada-app.jar" }})
You can’t perform that action at this time.
0 commit comments