-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.sh
75 lines (74 loc) · 9.48 KB
/
main.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/bin/bash
mkdir results/$(date +"%Y%m%d")
hyperfine --export-json results/$(date +"%Y%m%d")/selection_ASC_10.json --show-output 'python3 main.py -alg selection -is 10 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/selection_ASC_1000.json --show-output 'python3 main.py -alg selection -is 1000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/selection_DESC_10.json --show-output 'python3 main.py -alg selection -is 10 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/selection_DESC_1000.json --show-output 'python3 main.py -alg selection -is 1000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/selection_RAND_10.json --show-output 'python3 main.py -alg selection -is 10 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/selection_RAND_1000.json --show-output 'python3 main.py -alg selection -is 1000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/insertion_ASC_10.json --show-output 'python3 main.py -alg insertion -is 10 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/insertion_ASC_1000.json --show-output 'python3 main.py -alg insertion -is 1000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/insertion_DESC_10.json --show-output 'python3 main.py -alg insertion -is 10 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/insertion_DESC_1000.json --show-output 'python3 main.py -alg insertion -is 1000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/insertion_RAND_10.json --show-output 'python3 main.py -alg insertion -is 10 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/insertion_RAND_1000.json --show-output 'python3 main.py -alg insertion -is 1000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/shell_ASC_10.json --show-output 'python3 main.py -alg shell -is 10 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/shell_ASC_1000.json --show-output 'python3 main.py -alg shell -is 1000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/shell_DESC_10.json --show-output 'python3 main.py -alg shell -is 10 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/shell_DESC_1000.json --show-output 'python3 main.py -alg shell -is 1000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/shell_RAND_10.json --show-output 'python3 main.py -alg shell -is 10 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/shell_RAND_1000.json --show-output 'python3 main.py -alg shell -is 1000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/merge_ASC_10.json --show-output 'python3 main.py -alg merge -is 10 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/merge_ASC_1000.json --show-output 'python3 main.py -alg merge -is 1000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/merge_DESC_10.json --show-output 'python3 main.py -alg merge -is 10 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/merge_DESC_1000.json --show-output 'python3 main.py -alg merge -is 1000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/merge_RAND_10.json --show-output 'python3 main.py -alg merge -is 10 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/merge_RAND_1000.json --show-output 'python3 main.py -alg merge -is 1000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/heap_ASC_10.json --show-output 'python3 main.py -alg heap -is 10 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/heap_ASC_1000.json --show-output 'python3 main.py -alg heap -is 1000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/heap_DESC_10.json --show-output 'python3 main.py -alg heap -is 10 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/heap_DESC_1000.json --show-output 'python3 main.py -alg heap -is 1000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/heap_RAND_10.json --show-output 'python3 main.py -alg heap -is 10 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/heap_RAND_1000.json --show-output 'python3 main.py -alg heap -is 1000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/quick_ASC_10.json --show-output 'python3 main.py -alg quick -is 10 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/quick_ASC_1000.json --show-output 'python3 main.py -alg quick -is 1000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/quick_DESC_10.json --show-output 'python3 main.py -alg quick -is 10 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/quick_DESC_1000.json --show-output 'python3 main.py -alg quick -is 1000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/quick_RAND_10.json --show-output 'python3 main.py -alg quick -is 10 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/quick_RAND_1000.json --show-output 'python3 main.py -alg quick -is 1000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/insertion_ASC_100000.json --show-output 'python3 main.py -alg insertion -is 100000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/insertion_DESC_100000.json --show-output 'python3 main.py -alg insertion -is 100000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/insertion_RAND_100000.json --show-output 'python3 main.py -alg insertion -is 100000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/shell_ASC_100000.json --show-output 'python3 main.py -alg shell -is 100000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/shell_DESC_100000.json --show-output 'python3 main.py -alg shell -is 100000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/shell_RAND_100000.json --show-output 'python3 main.py -alg shell -is 100000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/merge_ASC_100000.json --show-output 'python3 main.py -alg merge -is 100000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/merge_DESC_100000.json --show-output 'python3 main.py -alg merge -is 100000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/merge_RAND_100000.json --show-output 'python3 main.py -alg merge -is 100000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/heap_ASC_100000.json --show-output 'python3 main.py -alg heap -is 100000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/heap_DESC_100000.json --show-output 'python3 main.py -alg heap -is 100000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/heap_RAND_100000.json --show-output 'python3 main.py -alg heap -is 100000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/selection_ASC_100000.json --show-output 'python3 main.py -alg selection -is 100000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/selection_DESC_100000.json --show-output 'python3 main.py -alg selection -is 100000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/selection_RAND_100000.json --show-output 'python3 main.py -alg selection -is 100000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/quick_ASC_100000.json --show-output 'python3 main.py -alg quick -is 100000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/quick_DESC_100000.json --show-output 'python3 main.py -alg quick -is 100000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/quick_RAND_100000.json --show-output 'python3 main.py -alg quick -is 100000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/insertion_ASC_1000000.json --show-output 'python3 main.py -alg insertion -is 1000000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/insertion_DESC_1000000.json --show-output 'python3 main.py -alg insertion -is 1000000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/insertion_RAND_1000000.json --show-output 'python3 main.py -alg insertion -is 1000000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/shell_ASC_1000000.json --show-output 'python3 main.py -alg shell -is 1000000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/shell_DESC_1000000.json --show-output 'python3 main.py -alg shell -is 1000000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/shell_RAND_1000000.json --show-output 'python3 main.py -alg shell -is 1000000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/merge_ASC_1000000.json --show-output 'python3 main.py -alg merge -is 1000000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/merge_DESC_1000000.json --show-output 'python3 main.py -alg merge -is 1000000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/merge_RAND_1000000.json --show-output 'python3 main.py -alg merge -is 1000000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/heap_ASC_1000000.json --show-output 'python3 main.py -alg heap -is 1000000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/heap_DESC_1000000.json --show-output 'python3 main.py -alg heap -is 1000000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/heap_RAND_1000000.json --show-output 'python3 main.py -alg heap -is 1000000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/selection_ASC_1000000.json --show-output 'python3 main.py -alg selection -is 1000000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/selection_DESC_1000000.json --show-output 'python3 main.py -alg selection -is 1000000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/selection_RAND_1000000.json --show-output 'python3 main.py -alg selection -is 1000000 -o RAND'
hyperfine --export-json results/$(date +"%Y%m%d")/quick_ASC_1000000.json --show-output 'python3 main.py -alg quick -is 1000000 -o ASC'
hyperfine --export-json results/$(date +"%Y%m%d")/quick_DESC_1000000.json --show-output 'python3 main.py -alg quick -is 1000000 -o DESC'
hyperfine --export-json results/$(date +"%Y%m%d")/quick_RAND_1000000.json --show-output 'python3 main.py -alg quick -is 1000000 -o RAND'