Skip to content

Commit 1a8b81d

Browse files
author
Oren (electricessence)
committed
Benchmark.
1 parent 00abe50 commit 1a8b81d

4 files changed

Lines changed: 156 additions & 150 deletions

File tree

benchmarking/BenchmarkResult.csv

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
Batch,Pool Type," To (In Parallel)",d 90%-Take/10%-Give (In Parallel),d 50%-Take/50%-Give (In Parallel),d 10%-Take/90%-Give (In Parallel),y Pool (.TryTake()),L,
2-
Repeat 120000 for size 4,ConcurrentQueueObjectPool,00:00:00.4328809,00:00:00.4157680,00:00:00.4065244,00:00:00.4045626,00:00:00.0271763,00:00:01.6869122,
3-
Repeat 120000 for size 4,ConcurrentStackObjectPool,00:00:01.0126419,00:00:00.9358291,00:00:00.9317805,00:00:00.9543443,00:00:00.0426221,00:00:03.8772179,
4-
Repeat 120000 for size 4,OptimisticArrayObjectPool,00:00:00.3072837,00:00:00.2791047,00:00:00.2824113,00:00:00.2763940,00:00:00.0181322,00:00:01.1633259,
5-
Repeat 120000 for size 4,InterlockedArrayObjectPool,00:00:00.2849269,00:00:00.2799949,00:00:00.2987070,00:00:00.2980612,00:00:00.0179067,00:00:01.1795967,
6-
Repeat 48000 for size 10,ConcurrentQueueObjectPool,00:00:00.2049617,00:00:00.1879537,00:00:00.1863383,00:00:00.1791973,00:00:00.0187886,00:00:00.7772396,
7-
Repeat 48000 for size 10,ConcurrentStackObjectPool,00:00:00.2312536,00:00:00.2063132,00:00:00.1973173,00:00:00.2137496,00:00:00.0209974,00:00:00.8696311,
8-
Repeat 48000 for size 10,OptimisticArrayObjectPool,00:00:00.1948958,00:00:00.1866085,00:00:00.1851642,00:00:00.1743788,00:00:00.0212318,00:00:00.7622791,
9-
Repeat 48000 for size 10,InterlockedArrayObjectPool,00:00:00.2025915,00:00:00.1947096,00:00:00.1832321,00:00:00.1855078,00:00:00.0213919,00:00:00.7874329,
10-
Repeat 14400 for size 50,ConcurrentQueueObjectPool,00:00:00.1153192,00:00:00.0930024,00:00:00.0847000,00:00:00.0976083,00:00:00.0225625,00:00:00.4131924,
11-
Repeat 14400 for size 50,ConcurrentStackObjectPool,00:00:00.1210192,00:00:00.0938168,00:00:00.0859916,00:00:00.1097679,00:00:00.0232161,00:00:00.4338116,
12-
Repeat 14400 for size 50,OptimisticArrayObjectPool,00:00:00.1162956,00:00:00.1051234,00:00:00.0809849,00:00:00.0920824,00:00:00.0592899,00:00:00.4537762,
13-
Repeat 14400 for size 50,InterlockedArrayObjectPool,00:00:00.1351777,00:00:00.1015328,00:00:00.0834721,00:00:00.1115662,00:00:00.0940603,00:00:00.5258091,
14-
Repeat 9600 for size 100,ConcurrentQueueObjectPool,00:00:00.1223762,00:00:00.0972226,00:00:00.0758479,00:00:00.0921301,00:00:00.0327353,00:00:00.4203121,
15-
Repeat 9600 for size 100,ConcurrentStackObjectPool,00:00:00.1517036,00:00:00.2118948,00:00:00.1054921,00:00:00.1368268,00:00:00.0473453,00:00:00.6532626,
16-
Repeat 9600 for size 100,OptimisticArrayObjectPool,00:00:00.1073093,00:00:00.1045937,00:00:00.0705415,00:00:00.0824673,00:00:00.0956365,00:00:00.4605483,
17-
Repeat 9600 for size 100,InterlockedArrayObjectPool,00:00:00.1494063,00:00:00.1077739,00:00:00.0746742,00:00:00.1128479,00:00:00.2238334,00:00:00.6685357,
18-
Repeat 7680 for size 250,ConcurrentQueueObjectPool,00:00:00.2123888,00:00:00.1725807,00:00:00.1277665,00:00:00.1629961,00:00:00.0699733,00:00:00.7457054,
19-
Repeat 7680 for size 250,ConcurrentStackObjectPool,00:00:00.7008323,00:00:03.4680108,00:00:00.7312092,00:00:00.7532056,00:00:00.2733349,00:00:05.9265928,
20-
Repeat 7680 for size 250,OptimisticArrayObjectPool,00:00:00.2225184,00:00:00.2290041,00:00:00.1110785,00:00:00.1400907,00:00:00.3309545,00:00:01.0336462,
21-
Repeat 7680 for size 250,InterlockedArrayObjectPool,00:00:00.4984438,00:00:00.2336851,00:00:00.1059643,00:00:00.2670714,00:00:00.8555392,00:00:01.9607038,
22-
:51.4640465,00:01:47.3685819,
2+
Repeat 1200000 for size 4,ConcurrentQueueObjectPool,00:00:04.3234623,00:00:04.2859159,00:00:04.0856252,00:00:04.1629271,00:00:00.2383071,00:00:17.0962376,
3+
Repeat 1200000 for size 4,ConcurrentStackObjectPool,00:00:03.4181177,00:00:03.1483734,00:00:03.0326640,00:00:03.2275135,00:00:00.2194885,00:00:13.0461571,
4+
Repeat 1200000 for size 4,OptimisticArrayObjectPool,00:00:02.9567086,00:00:02.9408997,00:00:02.8979050,00:00:02.9429304,00:00:00.1781477,00:00:11.9165914,
5+
Repeat 1200000 for size 4,InterlockedArrayObjectPool,00:00:02.8507860,00:00:02.8378750,00:00:02.8065261,00:00:02.7729287,00:00:00.1748178,00:00:11.4429336,
6+
Repeat 480000 for size 10,ConcurrentQueueObjectPool,00:00:01.9110391,00:00:01.7929113,00:00:01.7431428,00:00:01.7539962,00:00:00.1864032,00:00:07.3874926,
7+
Repeat 480000 for size 10,ConcurrentStackObjectPool,00:00:02.2080509,00:00:01.9085663,00:00:01.7999023,00:00:02.0333784,00:00:00.2014246,00:00:08.1513225,
8+
Repeat 480000 for size 10,OptimisticArrayObjectPool,00:00:01.9464026,00:00:01.8209826,00:00:01.7283101,00:00:01.7703791,00:00:00.2067250,00:00:07.4727994,
9+
Repeat 480000 for size 10,InterlockedArrayObjectPool,00:00:01.9864203,00:00:01.8975615,00:00:01.7755688,00:00:01.8424227,00:00:00.2128414,00:00:07.7148147,
10+
Repeat 144000 for size 50,ConcurrentQueueObjectPool,00:00:01.0865387,00:00:00.9103388,00:00:00.7864308,00:00:00.8607428,00:00:00.2207286,00:00:03.8647797,
11+
Repeat 144000 for size 50,ConcurrentStackObjectPool,00:00:01.2035505,00:00:00.9058416,00:00:00.8623919,00:00:01.0519578,00:00:00.2300882,00:00:04.2538300,
12+
Repeat 144000 for size 50,OptimisticArrayObjectPool,00:00:01.0794476,00:00:00.9707866,00:00:00.7703522,00:00:00.8925395,00:00:00.5686048,00:00:04.2817307,
13+
Repeat 144000 for size 50,InterlockedArrayObjectPool,00:00:01.2918612,00:00:00.9923932,00:00:00.7856951,00:00:01.0361033,00:00:00.8871188,00:00:04.9931716,
14+
Repeat 96000 for size 100,ConcurrentQueueObjectPool,00:00:01.1936583,00:00:00.9884302,00:00:00.7937749,00:00:00.9104213,00:00:00.3325926,00:00:04.2188773,
15+
Repeat 96000 for size 100,ConcurrentStackObjectPool,00:00:01.2954728,00:00:01.5919051,00:00:00.8887785,00:00:01.1267305,00:00:00.3910861,00:00:05.2939730,
16+
Repeat 96000 for size 100,OptimisticArrayObjectPool,00:00:01.0586862,00:00:01.0613279,00:00:00.7160126,00:00:00.8147263,00:00:00.9588449,00:00:04.6095979,
17+
Repeat 96000 for size 100,InterlockedArrayObjectPool,00:00:01.5202602,00:00:01.0914433,00:00:00.7177933,00:00:01.1267538,00:00:02.1815610,00:00:06.6378116,
18+
Repeat 76800 for size 250,ConcurrentQueueObjectPool,00:00:02.1343720,00:00:01.7012785,00:00:01.2752111,00:00:01.6435934,00:00:00.6997324,00:00:07.4541874,
19+
Repeat 76800 for size 250,ConcurrentStackObjectPool,00:00:06.2066697,00:00:27.8900516,00:00:06.5621678,00:00:06.4422102,00:00:02.4804319,00:00:49.5815312,
20+
Repeat 76800 for size 250,OptimisticArrayObjectPool,00:00:02.0446809,00:00:02.2047801,00:00:01.0930008,00:00:01.3709434,00:00:03.2508715,00:00:09.9642767,
21+
Repeat 76800 for size 250,InterlockedArrayObjectPool,00:00:05.1034766,00:00:02.3508106,00:00:01.0738597,00:00:02.7216389,00:00:08.5749945,00:00:19.8247803,
22+
.3685819,
2323
,
2424
epeat 51200 for size 250,OptimisticArrayObjectPool,00:00:00.7651948,00:00:01.3195712,00:00:01.3758641,00:00:00.6837150,00:00:01.0134658,00:00:01.9616149,00:00:07.1194258,
2525
Repeat 51200 for size 250,InterlockedArrayObjectPool,00:00:00.8386708,00:00:02.2800174,00:00:01.4244575,00:00:00.6435472,00:00:01.6845873,00:00:05.4327218,00:00:12.3040020,

benchmarking/BenchmarkResult.txt

Lines changed: 125 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -1,180 +1,180 @@
1-
Repeat 120000 for size 4
1+
Repeat 1200000 for size 4
22
------------------------------------
33

44
ConcurrentQueueObjectPool...............................
5-
00:00:00.4328809 Give To (In Parallel)
6-
00:00:00.4157680 Mixed 90%-Take/10%-Give (In Parallel)
7-
00:00:00.4065244 Mixed 50%-Take/50%-Give (In Parallel)
8-
00:00:00.4045626 Mixed 10%-Take/90%-Give (In Parallel)
9-
00:00:00.0271763 Empty Pool (.TryTake())
10-
00:00:01.6869122 TOTAL
5+
00:00:04.3234623 Give To (In Parallel)
6+
00:00:04.2859159 Mixed 90%-Take/10%-Give (In Parallel)
7+
00:00:04.0856252 Mixed 50%-Take/50%-Give (In Parallel)
8+
00:00:04.1629271 Mixed 10%-Take/90%-Give (In Parallel)
9+
00:00:00.2383071 Empty Pool (.TryTake())
10+
00:00:17.0962376 TOTAL
1111

1212
ConcurrentStackObjectPool...............................
13-
00:00:01.0126419 Give To (In Parallel)
14-
00:00:00.9358291 Mixed 90%-Take/10%-Give (In Parallel)
15-
00:00:00.9317805 Mixed 50%-Take/50%-Give (In Parallel)
16-
00:00:00.9543443 Mixed 10%-Take/90%-Give (In Parallel)
17-
00:00:00.0426221 Empty Pool (.TryTake())
18-
00:00:03.8772179 TOTAL
13+
00:00:03.4181177 Give To (In Parallel)
14+
00:00:03.1483734 Mixed 90%-Take/10%-Give (In Parallel)
15+
00:00:03.0326640 Mixed 50%-Take/50%-Give (In Parallel)
16+
00:00:03.2275135 Mixed 10%-Take/90%-Give (In Parallel)
17+
00:00:00.2194885 Empty Pool (.TryTake())
18+
00:00:13.0461571 TOTAL
1919

2020
OptimisticArrayObjectPool...............................
21-
00:00:00.3072837 Give To (In Parallel)
22-
00:00:00.2791047 Mixed 90%-Take/10%-Give (In Parallel)
23-
00:00:00.2824113 Mixed 50%-Take/50%-Give (In Parallel)
24-
00:00:00.2763940 Mixed 10%-Take/90%-Give (In Parallel)
25-
00:00:00.0181322 Empty Pool (.TryTake())
26-
00:00:01.1633259 TOTAL
21+
00:00:02.9567086 Give To (In Parallel)
22+
00:00:02.9408997 Mixed 90%-Take/10%-Give (In Parallel)
23+
00:00:02.8979050 Mixed 50%-Take/50%-Give (In Parallel)
24+
00:00:02.9429304 Mixed 10%-Take/90%-Give (In Parallel)
25+
00:00:00.1781477 Empty Pool (.TryTake())
26+
00:00:11.9165914 TOTAL
2727

2828
InterlockedArrayObjectPool..............................
29-
00:00:00.2849269 Give To (In Parallel)
30-
00:00:00.2799949 Mixed 90%-Take/10%-Give (In Parallel)
31-
00:00:00.2987070 Mixed 50%-Take/50%-Give (In Parallel)
32-
00:00:00.2980612 Mixed 10%-Take/90%-Give (In Parallel)
33-
00:00:00.0179067 Empty Pool (.TryTake())
34-
00:00:01.1795967 TOTAL
29+
00:00:02.8507860 Give To (In Parallel)
30+
00:00:02.8378750 Mixed 90%-Take/10%-Give (In Parallel)
31+
00:00:02.8065261 Mixed 50%-Take/50%-Give (In Parallel)
32+
00:00:02.7729287 Mixed 10%-Take/90%-Give (In Parallel)
33+
00:00:00.1748178 Empty Pool (.TryTake())
34+
00:00:11.4429336 TOTAL
3535

3636

37-
Repeat 48000 for size 10
37+
Repeat 480000 for size 10
3838
------------------------------------
3939

4040
ConcurrentQueueObjectPool...............................
41-
00:00:00.2049617 Give To (In Parallel)
42-
00:00:00.1879537 Mixed 90%-Take/10%-Give (In Parallel)
43-
00:00:00.1863383 Mixed 50%-Take/50%-Give (In Parallel)
44-
00:00:00.1791973 Mixed 10%-Take/90%-Give (In Parallel)
45-
00:00:00.0187886 Empty Pool (.TryTake())
46-
00:00:00.7772396 TOTAL
41+
00:00:01.9110391 Give To (In Parallel)
42+
00:00:01.7929113 Mixed 90%-Take/10%-Give (In Parallel)
43+
00:00:01.7431428 Mixed 50%-Take/50%-Give (In Parallel)
44+
00:00:01.7539962 Mixed 10%-Take/90%-Give (In Parallel)
45+
00:00:00.1864032 Empty Pool (.TryTake())
46+
00:00:07.3874926 TOTAL
4747

4848
ConcurrentStackObjectPool...............................
49-
00:00:00.2312536 Give To (In Parallel)
50-
00:00:00.2063132 Mixed 90%-Take/10%-Give (In Parallel)
51-
00:00:00.1973173 Mixed 50%-Take/50%-Give (In Parallel)
52-
00:00:00.2137496 Mixed 10%-Take/90%-Give (In Parallel)
53-
00:00:00.0209974 Empty Pool (.TryTake())
54-
00:00:00.8696311 TOTAL
49+
00:00:02.2080509 Give To (In Parallel)
50+
00:00:01.9085663 Mixed 90%-Take/10%-Give (In Parallel)
51+
00:00:01.7999023 Mixed 50%-Take/50%-Give (In Parallel)
52+
00:00:02.0333784 Mixed 10%-Take/90%-Give (In Parallel)
53+
00:00:00.2014246 Empty Pool (.TryTake())
54+
00:00:08.1513225 TOTAL
5555

5656
OptimisticArrayObjectPool...............................
57-
00:00:00.1948958 Give To (In Parallel)
58-
00:00:00.1866085 Mixed 90%-Take/10%-Give (In Parallel)
59-
00:00:00.1851642 Mixed 50%-Take/50%-Give (In Parallel)
60-
00:00:00.1743788 Mixed 10%-Take/90%-Give (In Parallel)
61-
00:00:00.0212318 Empty Pool (.TryTake())
62-
00:00:00.7622791 TOTAL
57+
00:00:01.9464026 Give To (In Parallel)
58+
00:00:01.8209826 Mixed 90%-Take/10%-Give (In Parallel)
59+
00:00:01.7283101 Mixed 50%-Take/50%-Give (In Parallel)
60+
00:00:01.7703791 Mixed 10%-Take/90%-Give (In Parallel)
61+
00:00:00.2067250 Empty Pool (.TryTake())
62+
00:00:07.4727994 TOTAL
6363

6464
InterlockedArrayObjectPool..............................
65-
00:00:00.2025915 Give To (In Parallel)
66-
00:00:00.1947096 Mixed 90%-Take/10%-Give (In Parallel)
67-
00:00:00.1832321 Mixed 50%-Take/50%-Give (In Parallel)
68-
00:00:00.1855078 Mixed 10%-Take/90%-Give (In Parallel)
69-
00:00:00.0213919 Empty Pool (.TryTake())
70-
00:00:00.7874329 TOTAL
65+
00:00:01.9864203 Give To (In Parallel)
66+
00:00:01.8975615 Mixed 90%-Take/10%-Give (In Parallel)
67+
00:00:01.7755688 Mixed 50%-Take/50%-Give (In Parallel)
68+
00:00:01.8424227 Mixed 10%-Take/90%-Give (In Parallel)
69+
00:00:00.2128414 Empty Pool (.TryTake())
70+
00:00:07.7148147 TOTAL
7171

7272

73-
Repeat 14400 for size 50
73+
Repeat 144000 for size 50
7474
------------------------------------
7575

7676
ConcurrentQueueObjectPool...............................
77-
00:00:00.1153192 Give To (In Parallel)
78-
00:00:00.0930024 Mixed 90%-Take/10%-Give (In Parallel)
79-
00:00:00.0847000 Mixed 50%-Take/50%-Give (In Parallel)
80-
00:00:00.0976083 Mixed 10%-Take/90%-Give (In Parallel)
81-
00:00:00.0225625 Empty Pool (.TryTake())
82-
00:00:00.4131924 TOTAL
77+
00:00:01.0865387 Give To (In Parallel)
78+
00:00:00.9103388 Mixed 90%-Take/10%-Give (In Parallel)
79+
00:00:00.7864308 Mixed 50%-Take/50%-Give (In Parallel)
80+
00:00:00.8607428 Mixed 10%-Take/90%-Give (In Parallel)
81+
00:00:00.2207286 Empty Pool (.TryTake())
82+
00:00:03.8647797 TOTAL
8383

8484
ConcurrentStackObjectPool...............................
85-
00:00:00.1210192 Give To (In Parallel)
86-
00:00:00.0938168 Mixed 90%-Take/10%-Give (In Parallel)
87-
00:00:00.0859916 Mixed 50%-Take/50%-Give (In Parallel)
88-
00:00:00.1097679 Mixed 10%-Take/90%-Give (In Parallel)
89-
00:00:00.0232161 Empty Pool (.TryTake())
90-
00:00:00.4338116 TOTAL
85+
00:00:01.2035505 Give To (In Parallel)
86+
00:00:00.9058416 Mixed 90%-Take/10%-Give (In Parallel)
87+
00:00:00.8623919 Mixed 50%-Take/50%-Give (In Parallel)
88+
00:00:01.0519578 Mixed 10%-Take/90%-Give (In Parallel)
89+
00:00:00.2300882 Empty Pool (.TryTake())
90+
00:00:04.2538300 TOTAL
9191

9292
OptimisticArrayObjectPool...............................
93-
00:00:00.1162956 Give To (In Parallel)
94-
00:00:00.1051234 Mixed 90%-Take/10%-Give (In Parallel)
95-
00:00:00.0809849 Mixed 50%-Take/50%-Give (In Parallel)
96-
00:00:00.0920824 Mixed 10%-Take/90%-Give (In Parallel)
97-
00:00:00.0592899 Empty Pool (.TryTake())
98-
00:00:00.4537762 TOTAL
93+
00:00:01.0794476 Give To (In Parallel)
94+
00:00:00.9707866 Mixed 90%-Take/10%-Give (In Parallel)
95+
00:00:00.7703522 Mixed 50%-Take/50%-Give (In Parallel)
96+
00:00:00.8925395 Mixed 10%-Take/90%-Give (In Parallel)
97+
00:00:00.5686048 Empty Pool (.TryTake())
98+
00:00:04.2817307 TOTAL
9999

100100
InterlockedArrayObjectPool..............................
101-
00:00:00.1351777 Give To (In Parallel)
102-
00:00:00.1015328 Mixed 90%-Take/10%-Give (In Parallel)
103-
00:00:00.0834721 Mixed 50%-Take/50%-Give (In Parallel)
104-
00:00:00.1115662 Mixed 10%-Take/90%-Give (In Parallel)
105-
00:00:00.0940603 Empty Pool (.TryTake())
106-
00:00:00.5258091 TOTAL
101+
00:00:01.2918612 Give To (In Parallel)
102+
00:00:00.9923932 Mixed 90%-Take/10%-Give (In Parallel)
103+
00:00:00.7856951 Mixed 50%-Take/50%-Give (In Parallel)
104+
00:00:01.0361033 Mixed 10%-Take/90%-Give (In Parallel)
105+
00:00:00.8871188 Empty Pool (.TryTake())
106+
00:00:04.9931716 TOTAL
107107

108108

109-
Repeat 9600 for size 100
109+
Repeat 96000 for size 100
110110
------------------------------------
111111

112112
ConcurrentQueueObjectPool...............................
113-
00:00:00.1223762 Give To (In Parallel)
114-
00:00:00.0972226 Mixed 90%-Take/10%-Give (In Parallel)
115-
00:00:00.0758479 Mixed 50%-Take/50%-Give (In Parallel)
116-
00:00:00.0921301 Mixed 10%-Take/90%-Give (In Parallel)
117-
00:00:00.0327353 Empty Pool (.TryTake())
118-
00:00:00.4203121 TOTAL
113+
00:00:01.1936583 Give To (In Parallel)
114+
00:00:00.9884302 Mixed 90%-Take/10%-Give (In Parallel)
115+
00:00:00.7937749 Mixed 50%-Take/50%-Give (In Parallel)
116+
00:00:00.9104213 Mixed 10%-Take/90%-Give (In Parallel)
117+
00:00:00.3325926 Empty Pool (.TryTake())
118+
00:00:04.2188773 TOTAL
119119

120120
ConcurrentStackObjectPool...............................
121-
00:00:00.1517036 Give To (In Parallel)
122-
00:00:00.2118948 Mixed 90%-Take/10%-Give (In Parallel)
123-
00:00:00.1054921 Mixed 50%-Take/50%-Give (In Parallel)
124-
00:00:00.1368268 Mixed 10%-Take/90%-Give (In Parallel)
125-
00:00:00.0473453 Empty Pool (.TryTake())
126-
00:00:00.6532626 TOTAL
121+
00:00:01.2954728 Give To (In Parallel)
122+
00:00:01.5919051 Mixed 90%-Take/10%-Give (In Parallel)
123+
00:00:00.8887785 Mixed 50%-Take/50%-Give (In Parallel)
124+
00:00:01.1267305 Mixed 10%-Take/90%-Give (In Parallel)
125+
00:00:00.3910861 Empty Pool (.TryTake())
126+
00:00:05.2939730 TOTAL
127127

128128
OptimisticArrayObjectPool...............................
129-
00:00:00.1073093 Give To (In Parallel)
130-
00:00:00.1045937 Mixed 90%-Take/10%-Give (In Parallel)
131-
00:00:00.0705415 Mixed 50%-Take/50%-Give (In Parallel)
132-
00:00:00.0824673 Mixed 10%-Take/90%-Give (In Parallel)
133-
00:00:00.0956365 Empty Pool (.TryTake())
134-
00:00:00.4605483 TOTAL
129+
00:00:01.0586862 Give To (In Parallel)
130+
00:00:01.0613279 Mixed 90%-Take/10%-Give (In Parallel)
131+
00:00:00.7160126 Mixed 50%-Take/50%-Give (In Parallel)
132+
00:00:00.8147263 Mixed 10%-Take/90%-Give (In Parallel)
133+
00:00:00.9588449 Empty Pool (.TryTake())
134+
00:00:04.6095979 TOTAL
135135

136136
InterlockedArrayObjectPool..............................
137-
00:00:00.1494063 Give To (In Parallel)
138-
00:00:00.1077739 Mixed 90%-Take/10%-Give (In Parallel)
139-
00:00:00.0746742 Mixed 50%-Take/50%-Give (In Parallel)
140-
00:00:00.1128479 Mixed 10%-Take/90%-Give (In Parallel)
141-
00:00:00.2238334 Empty Pool (.TryTake())
142-
00:00:00.6685357 TOTAL
137+
00:00:01.5202602 Give To (In Parallel)
138+
00:00:01.0914433 Mixed 90%-Take/10%-Give (In Parallel)
139+
00:00:00.7177933 Mixed 50%-Take/50%-Give (In Parallel)
140+
00:00:01.1267538 Mixed 10%-Take/90%-Give (In Parallel)
141+
00:00:02.1815610 Empty Pool (.TryTake())
142+
00:00:06.6378116 TOTAL
143143

144144

145-
Repeat 7680 for size 250
145+
Repeat 76800 for size 250
146146
------------------------------------
147147

148148
ConcurrentQueueObjectPool...............................
149-
00:00:00.2123888 Give To (In Parallel)
150-
00:00:00.1725807 Mixed 90%-Take/10%-Give (In Parallel)
151-
00:00:00.1277665 Mixed 50%-Take/50%-Give (In Parallel)
152-
00:00:00.1629961 Mixed 10%-Take/90%-Give (In Parallel)
153-
00:00:00.0699733 Empty Pool (.TryTake())
154-
00:00:00.7457054 TOTAL
149+
00:00:02.1343720 Give To (In Parallel)
150+
00:00:01.7012785 Mixed 90%-Take/10%-Give (In Parallel)
151+
00:00:01.2752111 Mixed 50%-Take/50%-Give (In Parallel)
152+
00:00:01.6435934 Mixed 10%-Take/90%-Give (In Parallel)
153+
00:00:00.6997324 Empty Pool (.TryTake())
154+
00:00:07.4541874 TOTAL
155155

156156
ConcurrentStackObjectPool...............................
157-
00:00:00.7008323 Give To (In Parallel)
158-
00:00:03.4680108 Mixed 90%-Take/10%-Give (In Parallel)
159-
00:00:00.7312092 Mixed 50%-Take/50%-Give (In Parallel)
160-
00:00:00.7532056 Mixed 10%-Take/90%-Give (In Parallel)
161-
00:00:00.2733349 Empty Pool (.TryTake())
162-
00:00:05.9265928 TOTAL
157+
00:00:06.2066697 Give To (In Parallel)
158+
00:00:27.8900516 Mixed 90%-Take/10%-Give (In Parallel)
159+
00:00:06.5621678 Mixed 50%-Take/50%-Give (In Parallel)
160+
00:00:06.4422102 Mixed 10%-Take/90%-Give (In Parallel)
161+
00:00:02.4804319 Empty Pool (.TryTake())
162+
00:00:49.5815312 TOTAL
163163

164164
OptimisticArrayObjectPool...............................
165-
00:00:00.2225184 Give To (In Parallel)
166-
00:00:00.2290041 Mixed 90%-Take/10%-Give (In Parallel)
167-
00:00:00.1110785 Mixed 50%-Take/50%-Give (In Parallel)
168-
00:00:00.1400907 Mixed 10%-Take/90%-Give (In Parallel)
169-
00:00:00.3309545 Empty Pool (.TryTake())
170-
00:00:01.0336462 TOTAL
165+
00:00:02.0446809 Give To (In Parallel)
166+
00:00:02.2047801 Mixed 90%-Take/10%-Give (In Parallel)
167+
00:00:01.0930008 Mixed 50%-Take/50%-Give (In Parallel)
168+
00:00:01.3709434 Mixed 10%-Take/90%-Give (In Parallel)
169+
00:00:03.2508715 Empty Pool (.TryTake())
170+
00:00:09.9642767 TOTAL
171171

172172
InterlockedArrayObjectPool..............................
173-
00:00:00.4984438 Give To (In Parallel)
174-
00:00:00.2336851 Mixed 90%-Take/10%-Give (In Parallel)
175-
00:00:00.1059643 Mixed 50%-Take/50%-Give (In Parallel)
176-
00:00:00.2670714 Mixed 10%-Take/90%-Give (In Parallel)
177-
00:00:00.8555392 Empty Pool (.TryTake())
178-
00:00:01.9607038 TOTAL
173+
00:00:05.1034766 Give To (In Parallel)
174+
00:00:02.3508106 Mixed 90%-Take/10%-Give (In Parallel)
175+
00:00:01.0738597 Mixed 50%-Take/50%-Give (In Parallel)
176+
00:00:02.7216389 Mixed 10%-Take/90%-Give (In Parallel)
177+
00:00:08.5749945 Empty Pool (.TryTake())
178+
00:00:19.8247803 TOTAL
179179

180180

0 commit comments

Comments
 (0)