@@ -165,4 +165,56 @@ ______
165165
166166# Queue
167167
168+ | Method | Size | Mean | Ratio | Allocated |
169+ | --------------------------- | -------- | ---------------:| ------:| ----------:|
170+ | ** StackMemoryCollections** | ** 100** | ** 389.9 ns** | ** 0.71** | ** 400 B** |
171+ | System.Collections.Generic | 100 | 550.1 ns | 1.00 | 464 B |
172+ | | | | | |
173+ | ** StackMemoryCollections** | ** 1000** | ** 3,177.2 ns** | ** 0.58** | ** 4000 B** |
174+ | System.Collections.Generic | 1000 | 5,499.3 ns | 1.00 | 4064 B |
175+ | | | | | |
176+ | ** StackMemoryCollections** | ** 10000** | ** 31,035.0 ns** | ** 0.60** | ** 40000 B** |
177+ | System.Collections.Generic | 10000 | 51,680.2 ns | 1.00 | 40064 B |
178+ | | | | | |
179+ | ** StackMemoryCollections** | ** 100000** | ** 327,341.1 ns** | ** 0.53** | ** 400000 B** |
180+ | System.Collections.Generic | 100000 | 619,905.5 ns | 1.00 | 400106 B |
181+ | | | | | |
182+ | ** StackMemoryCollections** | ** 250000** | ** 815,390.2 ns** | ** 0.52** | ** 1000000 B** |
183+ | System.Collections.Generic | 250000 | 1,556,367.8 ns | 1.00 | 1000148 B |
184+ | | | | | |
185+ | ** StackMemoryCollections** | ** 500000** | ** 1,868,335.4 ns** | ** 0.60** | ** 2000001 B** |
186+ | System.Collections.Generic | 500000 | 3,118,756.4 ns | 1.00 | 2000233 B |
187+ | | | | | |
188+ | ** StackMemoryCollections** | ** 1000000** | ** 4,244,397.5 ns** | ** 0.66** | ** 4000004 B** |
189+ | System.Collections.Generic | 1000000 | 6,273,466.6 ns | 1.00 | 4000402 B |
190+
191+ [ Code] ( https://github.com/SoftStoneDevelop/StackMemoryCollections/blob/main/Src/Benchmarks/Queue/Simple/PrimitiveSimpleJob.cs )
192+ ______
193+
194+ | Method | Size | Mean | Ratio | Allocated |
195+ | --------------------------- | -------- | ----------------:| ------:| ------------:|
196+ | ** StackMemoryCollections** | ** 100** | ** 68.32 μs** | ** 0.83** | ** 2400 B** |
197+ | System.Collections.Generic | 100 | 81.52 μs | 1.00 | 92800 B |
198+ | | | | | |
199+ | ** StackMemoryCollections** | ** 1000** | ** 666.10 μs** | ** 0.80** | ** 24000 B** |
200+ | System.Collections.Generic | 1000 | 826.18 μs | 1.00 | 812801 B |
201+ | | | | | |
202+ | ** StackMemoryCollections** | ** 10000** | ** 6,284.88 μs** | ** 0.79** | ** 240005 B** |
203+ | System.Collections.Generic | 10000 | 7,960.78 μs | 1.00 | 8012808 B |
204+ | | | | | |
205+ | ** StackMemoryCollections** | ** 100000** | ** 57,392.77 μs** | ** 0.56** | ** 2400053 B** |
206+ | System.Collections.Generic | 100000 | 102,318.69 μs | 1.00 | 80021846 B |
207+ | | | | | |
208+ | ** StackMemoryCollections** | ** 250000** | ** 142,255.49 μs** | ** 0.57** | ** 6000268 B** |
209+ | System.Collections.Generic | 250000 | 247,818.64 μs | 1.00 | 200029648 B |
210+ | | | | | |
211+ | ** StackMemoryCollections** | ** 500000** | ** 285,382.63 μs** | ** 0.58** | ** 12000288 B** |
212+ | System.Collections.Generic | 500000 | 493,753.23 μs | 1.00 | 400049648 B |
213+ | | | | | |
214+ | ** StackMemoryCollections** | ** 1000000** | ** 570,681.45 μs** | ** 0.57** | ** 24002224 B** |
215+ | System.Collections.Generic | 1000000 | 1,003,561.57 μs | 1.00 | 800080144 B |
216+
217+ [ Code] ( https://github.com/SoftStoneDevelop/StackMemoryCollections/blob/main/Src/Benchmarks/Queue/Optimal/PrimitiveOptimalJob.cs )
218+ ______
219+
168220# List
0 commit comments