Skip to content

Commit 18681fc

Browse files
author
Ubuntu
committed
test2
1 parent e258d6e commit 18681fc

16 files changed

+83
-83
lines changed

annealing1.csv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
funcname,n,seconds
22
annealing-sort(temps1, reps1,10,7.5e-05
3-
annealing-sort(temps1, reps1,100,0.00064
4-
annealing-sort(temps1, reps1,1000,0.00623567
5-
annealing-sort(temps1, reps1,10000,0.0643207
6-
annealing-sort(temps1, reps1,100000,0.665353
7-
annealing-sort(temps1, reps1,1000000,6.66469
3+
annealing-sort(temps1, reps1,100,0.000622
4+
annealing-sort(temps1, reps1,1000,0.00602433
5+
annealing-sort(temps1, reps1,10000,0.0604957
6+
annealing-sort(temps1, reps1,100000,0.607442
7+
annealing-sort(temps1, reps1,1000000,6.08457

annealing2.csv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
funcname,n,seconds
22
annealing-sort(temps2, reps2,10,3.46667e-05
3-
annealing-sort(temps2, reps2,100,0.000198667
4-
annealing-sort(temps2, reps2,1000,0.00181433
5-
annealing-sort(temps2, reps2,10000,0.0192847
6-
annealing-sort(temps2, reps2,100000,0.19559
7-
annealing-sort(temps2, reps2,1000000,1.96319
3+
annealing-sort(temps2, reps2,100,0.000206667
4+
annealing-sort(temps2, reps2,1000,0.001763
5+
annealing-sort(temps2, reps2,10000,0.017068
6+
annealing-sort(temps2, reps2,100000,0.17074
7+
annealing-sort(temps2, reps2,1000000,1.71256

annealing3.csv

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
funcname,n,seconds
2-
annealing-sort(temps3, reps3,10,0.000139
3-
annealing-sort(temps3, reps3,100,0.00132633
4-
annealing-sort(temps3, reps3,1000,0.0132013
5-
annealing-sort(temps3, reps3,10000,0.137928
6-
annealing-sort(temps3, reps3,100000,1.40486
7-
annealing-sort(temps3, reps3,1000000,14.0739
2+
annealing-sort(temps3, reps3,10,0.000138333
3+
annealing-sort(temps3, reps3,100,0.001313
4+
annealing-sort(temps3, reps3,1000,0.0131797
5+
annealing-sort(temps3, reps3,10000,0.131874
6+
annealing-sort(temps3, reps3,100000,1.31923
7+
annealing-sort(temps3, reps3,1000000,13.164

annealing4.csv

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
funcname,n,seconds
2-
annealing-sort(temps4, reps4,10,3.46667e-05
3-
annealing-sort(temps4, reps4,100,0.000204333
4-
annealing-sort(temps4, reps4,1000,0.00193133
5-
annealing-sort(temps4, reps4,10000,0.019586
6-
annealing-sort(temps4, reps4,100000,0.194638
7-
annealing-sort(temps4, reps4,1000000,1.9457
2+
annealing-sort(temps4, reps4,10,6.06667e-05
3+
annealing-sort(temps4, reps4,100,0.000530333
4+
annealing-sort(temps4, reps4,1000,0.00513567
5+
annealing-sort(temps4, reps4,10000,0.0512223
6+
annealing-sort(temps4, reps4,100000,0.514582
7+
annealing-sort(temps4, reps4,1000000,5.17135

annealing5.csv

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
funcname,n,seconds
2-
annealing-sort(temps5, reps5,10,5e-05
3-
annealing-sort(temps5, reps5,100,0.000377
4-
annealing-sort(temps5, reps5,1000,0.00372933
5-
annealing-sort(temps5, reps5,10000,0.0377947
6-
annealing-sort(temps5, reps5,100000,0.377574
7-
annealing-sort(temps5, reps5,1000000,3.7851
2+
annealing-sort(temps5, reps5,10,4.96667e-05
3+
annealing-sort(temps5, reps5,100,0.000364667
4+
annealing-sort(temps5, reps5,1000,0.00348
5+
annealing-sort(temps5, reps5,10000,0.0347703
6+
annealing-sort(temps5, reps5,100000,0.350878
7+
annealing-sort(temps5, reps5,1000000,3.51435

annealing6.csv

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
funcname,n,seconds
2-
annealing-sort(temps6, reps6,10,4.43333e-05
3-
annealing-sort(temps6, reps6,100,0.000344333
4-
annealing-sort(temps6, reps6,1000,0.00321667
5-
annealing-sort(temps6, reps6,10000,0.033514
6-
annealing-sort(temps6, reps6,100000,0.344188
7-
annealing-sort(temps6, reps6,1000000,3.4454
2+
annealing-sort(temps6, reps6,10,4.4e-05
3+
annealing-sort(temps6, reps6,100,0.000309
4+
annealing-sort(temps6, reps6,1000,0.00296
5+
annealing-sort(temps6, reps6,10000,0.0303523
6+
annealing-sort(temps6, reps6,100000,0.306749
7+
annealing-sort(temps6, reps6,1000000,3.05358

bubble.csv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
funcname,n,seconds
2-
bubble-sort,10,2e-06
3-
bubble-sort,100,6.46667e-05
4-
bubble-sort,1000,0.00634133
5-
bubble-sort,10000,0.714773
6-
bubble-sort,100000,73.9313
2+
bubble-sort,10,1e-06
3+
bubble-sort,100,3.63333e-05
4+
bubble-sort,1000,0.00326433
5+
bubble-sort,10000,0.31866
6+
bubble-sort,100000,31.8168

insertion.csv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
funcname,n,seconds
2-
insertion-sort,10,1.33333e-06
3-
insertion-sort,100,2.5e-05
4-
insertion-sort,1000,0.002316
5-
insertion-sort,10000,0.232469
6-
insertion-sort,100000,23.3116
2+
insertion-sort,10,5e-06
3+
insertion-sort,100,3.66667e-06
4+
insertion-sort,1000,5.36667e-05
5+
insertion-sort,10000,0.000632
6+
insertion-sort,100000,0.00591067

main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ int main()
140140
const vector<int>& temps1{1600, 800, 400, 200, 100, 50, 25, 0};
141141
const vector<int>& temps2{1000, 800, 600, 400, 200, 0};
142142
const vector<int>& temps3{1024, 512, 216, 128, 64, 32, 16, 8, 4, 2, 1, 0};
143-
const vector<int>& temps4{243, 81, 27, 9, 3, 0};
143+
const vector<int>& temps4{1597, 987, 610, 377, 233, 144, 89, 55, 34, 21, 13, 8, 5, 3, 2, 1};
144144
const vector<int>& temps5{256, 64, 16, 4, 0};
145145
const vector<int>& temps6{1000, 850, 700, 550, 400, 250, 0};
146146
const vector<int>& repetitions1{5, 5, 5, 5, 5, 5, 5, 0};
147147
const vector<int>& repetitions2{2, 2, 2, 2, 2, 0};
148148
const vector<int>& repetitions3{7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0};
149-
const vector<int>& repetitions4{2, 2, 2, 2, 2, 2, 0};
149+
const vector<int>& repetitions4{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0};
150150
const vector<int>& repetitions5{5, 5, 5, 5, 0};
151151
const vector<int>& repetitions6{3, 3, 3, 3, 3, 3, 0};
152152

@@ -254,4 +254,4 @@ int main()
254254
t = time_sort(n, 3, spin_the_bottle_sort);
255255
add_timings_to_file("spin-the-bottle-sort", t, "spin.csv");
256256
}
257-
}
257+
}

shell1.csv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
funcname,n,seconds
22
shell-sort(gaps1),10,1e-06
3-
shell-sort(gaps1),100,1.46667e-05
4-
shell-sort(gaps1),1000,0.000254
5-
shell-sort(gaps1),10000,0.00361067
6-
shell-sort(gaps1),100000,0.0566493
7-
shell-sort(gaps1),1000000,2.19755
3+
shell-sort(gaps1),100,5.66667e-06
4+
shell-sort(gaps1),1000,9.36667e-05
5+
shell-sort(gaps1),10000,0.00126433
6+
shell-sort(gaps1),100000,0.0127383
7+
shell-sort(gaps1),1000000,0.13508

shell2.csv

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
funcname,n,seconds
2-
shell-sort(gaps2),10,1e-06
3-
shell-sort(gaps2),100,1.66667e-05
4-
shell-sort(gaps2),1000,0.000258667
5-
shell-sort(gaps2),10000,0.00389233
6-
shell-sort(gaps2),100000,0.094656
7-
shell-sort(gaps2),1000000,5.54454
2+
shell-sort(gaps2),10,1.33333e-06
3+
shell-sort(gaps2),100,8.33333e-06
4+
shell-sort(gaps2),1000,9.63333e-05
5+
shell-sort(gaps2),10000,0.00120267
6+
shell-sort(gaps2),100000,0.0116913
7+
shell-sort(gaps2),1000000,0.125963

shell3.csv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
funcname,n,seconds
22
shell-sort(gaps3),10,1e-06
3-
shell-sort(gaps3),100,2.66667e-05
4-
shell-sort(gaps3),1000,0.000464667
5-
shell-sort(gaps3),10000,0.00889933
6-
shell-sort(gaps3),100000,0.312764
7-
shell-sort(gaps3),1000000,21.144
3+
shell-sort(gaps3),100,4.33333e-06
4+
shell-sort(gaps3),1000,6.76667e-05
5+
shell-sort(gaps3),10000,0.00087
6+
shell-sort(gaps3),100000,0.00975267
7+
shell-sort(gaps3),1000000,0.102497

shell4.csv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
funcname,n,seconds
22
shell-sort(gaps4),10,1.66667e-06
3-
shell-sort(gaps4),100,1.9e-05
4-
shell-sort(gaps4),1000,0.000348667
5-
shell-sort(gaps4),10000,0.00792933
6-
shell-sort(gaps4),100000,0.278635
7-
shell-sort(gaps4),1000000,17.1349
3+
shell-sort(gaps4),100,1e-05
4+
shell-sort(gaps4),1000,0.000124667
5+
shell-sort(gaps4),10000,0.00125167
6+
shell-sort(gaps4),100000,0.012697
7+
shell-sort(gaps4),1000000,0.137024

shell5.csv

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
funcname,n,seconds
2-
shell-sort(gaps5),10,6.66667e-07
3-
shell-sort(gaps5),100,3.33333e-07
4-
shell-sort(gaps5),1000,0.000101667
5-
shell-sort(gaps5),10000,0.002806
6-
shell-sort(gaps5),100000,0.147553
7-
shell-sort(gaps5),1000000,13.9912
2+
shell-sort(gaps5),10,6.33333e-06
3+
shell-sort(gaps5),100,6.66667e-07
4+
shell-sort(gaps5),1000,5.76667e-05
5+
shell-sort(gaps5),10000,0.000684333
6+
shell-sort(gaps5),100000,0.00710767
7+
shell-sort(gaps5),1000000,0.072713

shell6.csv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
funcname,n,seconds
22
shell-sort(gaps6),10,1.33333e-06
3-
shell-sort(gaps6),100,1.9e-05
4-
shell-sort(gaps6),1000,0.000333667
5-
shell-sort(gaps6),10000,0.00472133
6-
shell-sort(gaps6),100000,0.0817793
7-
shell-sort(gaps6),1000000,3.73569
3+
shell-sort(gaps6),100,1.3e-05
4+
shell-sort(gaps6),1000,0.000193667
5+
shell-sort(gaps6),10000,0.00206533
6+
shell-sort(gaps6),100000,0.0211983
7+
shell-sort(gaps6),1000000,0.223543

spin.csv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
funcname,n,seconds
2-
spin-the-bottle-sort,10,2.9e-05
3-
spin-the-bottle-sort,100,0.00218767
4-
spin-the-bottle-sort,1000,0.296131
5-
spin-the-bottle-sort,10000,33.6563
2+
spin-the-bottle-sort,10,2.8e-05
3+
spin-the-bottle-sort,100,0.002398
4+
spin-the-bottle-sort,1000,0.296544
5+
spin-the-bottle-sort,10000,33.8814

0 commit comments

Comments
 (0)