-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
51 lines (45 loc) · 989 Bytes
/
README
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
Code originally written during London Code Dojo 21 - Random Numbers Kata (02/04/13).
Thanks to Rupert Wood for pairing with me!
Code cleaned up and extended to fully utilise lambdas from Java 8 EA build.
All time measurements given in milliseconds.
-----------------
Benchmark Results
-----------------
>> LambdaSortAlgorithm <<
Random Generation Time: 3
Sort time: 8
Duration: 11
Random Generation Time: 3
Sort time: 9
Duration: 12
Random Generation Time: 2
Sort time: 8
Duration: 10
Random Generation Time: 3
Sort time: 8
Duration: 11
Random Generation Time: 3
Sort time: 8
Duration: 11
Random Generation Time: 2
Sort time: 9
Duration: 11
>> QuickSortAlgorithm <<
Random Generation Time: 4
Sort time: 10
Duration: 14
Random Generation Time: 2
Sort time: 11
Duration: 13
Random Generation Time: 2
Sort time: 10
Duration: 12
Random Generation Time: 3
Sort time: 10
Duration: 13
Random Generation Time: 3
Sort time: 10
Duration: 13
Random Generation Time: 3
Sort time: 10
Duration: 13