BlockingQueueの性能比較(Xms1200)
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
ABCDEFGHIJKLMNO
1
2
OSWindows 7Mac OS X
3
Java VM32 bit64 bit64 bit
4
Java コンパイラOracle JDKEclipseOracle JDKEclipseOracle JDKEclipse
5
BlockingQueue 実装ArrayLinkedArrayLinkedArrayLinkedArrayLinkedArrayLinkedArrayLinked
6
7
メソッド呼び出し単位:ミリ秒
8
BlockingQueue#add()5171,1645341,1613263803213843921,9294061,936
9
BlockingQueue#offer()5311,1545181,1543414473244185302,1043982,074
10
BlockingQueue#put()1,1251,1551,1391,1683984013724115682,0645412,058
11
BlockingQueue#remove()538605533531332347348344404424403434
12
BlockingQueue#poll()479519561519306375327332384415392410
13
BlockingQueue#take()1,1175831,091577341379348369423585436582
14
15
スループット単位:百万メッセージ/秒
16
Producer x 1, Consumer x 13.0465.1753.1114.2687.395.7747.0365.4313.0142.6393.6992.937
17
Producer x 2, Consumer x 12.4683.652.4843.7316.3444.657.8824.4915.3391.8755.4511.96
18
Producer x 1, Consumer x 23.5377.243.4037.74413.4688.74313.5259.3689.3625.8639.3086.235
19
Producer x 2, Consumer x 22.154.0462.0173.9787.365.2615.6625.035.3053.795.3713.378
20
Loading...
 
 
 
Sheet1
Sheet2
Sheet3