-
Notifications
You must be signed in to change notification settings - Fork 11
/
HashMapPerformance
49 lines (37 loc) · 9.55 KB
/
HashMapPerformance
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
Map(1) Char2ObjectAVLTreeMap(0,3) Char2ObjectOpenHashMap(2,1) Char2ObjectLinkedOpenHashMap(0,2) Char2ObjectRBTreeMap(3)
Loading words into Trie... Loading words into Trie... Loading words into Trie... Loading words into Trie... Loading words into Trie...
Loading random words into Trie... Loading random words into Trie... Loading random words into Trie... Loading random words into Trie... Loading random words into Trie...
Number Of Words inserted: 483805 Number Of Words inserted: 483805 Number Of Words inserted: 483805 Number Of Words inserted: 483805 Number Of Words inserted: 483805
Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time
Elapsed Time in milliseconds: 1095.217512 Elapsed Time in milliseconds: 1190.479236 Elapsed Time in milliseconds: 1321.991157 Elapsed Time in milliseconds: 2217.526844 Elapsed Time in milliseconds: 2635.742934
Elapsed Time in seconds: 1.0952175119999998 Elapsed Time in seconds: 1.1904792359999998 Elapsed Time in seconds: 1.321991157 Elapsed Time in seconds: 2.217526844 Elapsed Time in seconds: 2.635742934
Vince Map,Char2ObjectAVLTreeMap
Count Words Starts With rap Count Words Starts With rap Count Words Starts With rap Count Words Starts With rap Count Words Starts With rap
The Number Of Words Starts With rap is 147 The Number Of Words Starts With rap is 147 The Number Of Words Starts With rap is 147 The Number Of Words Starts With rap is 147 The Number Of Words Starts With rap is 147
Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time
Elapsed Time in milliseconds: 0.069873 Elapsed Time in milliseconds: 0.035923 Elapsed Time in milliseconds: 0.021712 Elapsed Time in milliseconds: 0.031186 Elapsed Time in milliseconds: 0.031581
Elapsed Time in seconds: 6.9873E-5 Elapsed Time in seconds: 3.5922999999999995E-5 Elapsed Time in seconds: 2.1711999999999998E-5 Elapsed Time in seconds: 3.1185999999999996E-5 Elapsed Time in seconds: 3.1580999999999995E-5
Vince Char2ObjectOpenHashMap,Char2ObjectLinkedOpenHashMap
Get Words Starts With rap Get Words Starts With rap Get Words Starts With rap Get Words Starts With rap Get Words Starts With rap
146 146 146 146 146
Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time
Elapsed Time in milliseconds: 100.442523 Elapsed Time in milliseconds: 65.558977 Elapsed Time in milliseconds: 67.226433 Elapsed Time in milliseconds: 64.830649 Elapsed Time in milliseconds: 60.999131
Elapsed Time in seconds: 0.10044252299999999 Elapsed Time in seconds: 0.065558977 Elapsed Time in seconds: 0.067226433 Elapsed Time in seconds: 0.06483064899999999 Elapsed Time in seconds: 0.060999131
Vince Char2ObjectRBTreeMap,Char2ObjectLinkedOpenHashMap
(Java7) Get Words Starts With rap (Java7) Get Words Starts With rap (Java7) Get Words Starts With rap (Java7) Get Words Starts With rap (Java7) Get Words Starts With rap
Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time
Elapsed Time in milliseconds: 3.043187 Elapsed Time in milliseconds: 2.257224 Elapsed Time in milliseconds: 1.675351 Elapsed Time in milliseconds: 2.391047 Elapsed Time in milliseconds: 2.878968
Elapsed Time in seconds: 0.003043187 Elapsed Time in seconds: 0.002257224 Elapsed Time in seconds: 0.001675351 Elapsed Time in seconds: 0.002391047 Elapsed Time in seconds: 0.002878968
Vince Char2ObjectOpenHashMap,Char2ObjectAVLTreeMap
Similarity (Maximum Distance 1) rap Similarity (Maximum Distance 1) rap Similarity (Maximum Distance 1) rap Similarity (Maximum Distance 1) rap Similarity (Maximum Distance 1) rap
Number of words similar to word rap: 48 Number of words similar to word rap: 48 Number of words similar to word rap: 48 Number of words similar to word rap: 48 Number of words similar to word rap: 48
Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time
Elapsed Time in milliseconds: 39.07982 Elapsed Time in milliseconds: 24.922233 Elapsed Time in milliseconds: 29.657351 Elapsed Time in milliseconds: 32.029843 Elapsed Time in milliseconds: 22.828438
Elapsed Time in seconds: 0.03907982 Elapsed Time in seconds: 0.024922233 Elapsed Time in seconds: 0.029657351 Elapsed Time in seconds: 0.032029843 Elapsed Time in seconds: 0.022828438
Vince Char2ObjectRBTreeMap,Char2ObjectAVLTreeMap
Remove rap Remove rap Remove rap Remove rap Remove rap
Number Of Words: 483804 Number Of Words: 483804 Number Of Words: 483804 Number Of Words: 483804 Number Of Words: 483804
Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time Elapsed / Execute Time
Elapsed Time in milliseconds: 0.198958 Elapsed Time in milliseconds: 0.102637 Elapsed Time in milliseconds: 0.093952 Elapsed Time in milliseconds: 0.106979 Elapsed Time in milliseconds: 0.112506
Elapsed Time in seconds: 1.98958E-4 Elapsed Time in seconds: 1.02637E-4 Elapsed Time in seconds: 9.3952E-5 Elapsed Time in seconds: 1.0697900000000001E-4 Elapsed Time in seconds: 1.12506E-4
Vince Char2ObjectRBTreeMap,Char2ObjectOpenHashMap