This experiment measures and compares performances between two concurrent data structures. One data structure being the JAVA'S jdk HashMap and the other is my customized hashmap from 365 class.
To get a variation of data the tests were run accross three different servers (PI, Wolf and my Computer).
The graphs show the results of the tests accross all three servers and the number of threads run during the benchmark tests.The first test was run with 1 thread executing each method,the second was 20 and then lastly 100 threads.
The benchmarks test the data structur's "put" and "get" methods. Because of a big difference in performance between the two data structures, some of the graphs were rescaled and displayed twice.
|
|
My
Computer |
PI |
WOLF |
JdkMap_Reader |
43792085.13 |
53813314.45 |
34032951.74 |
MyMap_Reader |
2254013.834 |
1055000.463 |
1005504.104 |
|
|
|
|
JdkMap_Writer |
7068649.637 |
3037014.195 |
2587422.724 |
MyMap_Writer |
3376431.283 |
1275193.034 |
1393192.748 |
|
|
|
|
20
Threads |
|
My
Computer |
PI |
WOLF |
JdkMap_Reader |
241236416.6 |
989711787.4 |
601777612.4 |
MyMap_Reader |
155003.703 |
92061.99 |
32847.563 |
|
|
|
|
JdkMap_Writer |
3956211.374 |
2550849.236 |
4091462.67 |
MyMap_Writer |
5725739.577 |
1703514.657 |
2667721.358 |
|
|
|
|
100
Threads |
|
My Computer |
PI |
Wolf |
JdkMap_Reader |
299649424 |
1256841476 |
880058542.3 |
MyMap_Reader |
176499.025 |
84512.244 |
60551.275 |
|
|
|
|
JdkMap_Writer |
1954776.472 |
2809793.124 |
4146996.653 |
MyMap_Writer |
5517889.875 |
1416418.084 |
2921807.062 |
|
|
|
|