-
Notifications
You must be signed in to change notification settings - Fork 0
/
sp11-script.sh
executable file
·32 lines (29 loc) · 1.01 KB
/
sp11-script.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#! /bin/bash
javac rsn170330/*.java
java rsn170330.FindKLargestElements 1000000 1
java rsn170330.FindKLargestElements 1000000 2
echo
java rsn170330.FindKLargestElements 2000000 1
java rsn170330.FindKLargestElements 2000000 2
echo ''
java rsn170330.FindKLargestElements 4000000 1
java rsn170330.FindKLargestElements 4000000 2
echo ""
java rsn170330.FindKLargestElements 8000000 1
java rsn170330.FindKLargestElements 8000000 2
printf "\n"
java -Xms2g rsn170330.FindKLargestElements 16000000 1
java -Xms2g rsn170330.FindKLargestElements 16000000 2
printf "\n"
java -Xms2g rsn170330.FindKLargestElements 32000000 1
java -Xms2g rsn170330.FindKLargestElements 32000000 2
printf "\n"
java -Xms3g rsn170330.FindKLargestElements 64000000 1
java -Xms3g rsn170330.FindKLargestElements 64000000 2
printf "\n"
java -Xms3g rsn170330.FindKLargestElements 128000000 1
java -Xms3g rsn170330.FindKLargestElements 128000000 2
printf "\n"
java -Xms4g rsn170330.FindKLargestElements 256000000 1
java -Xms6g rsn170330.FindKLargestElements 256000000 2
exit 0