From 85c92ee17d0e3f05c783470d5aaf89c312eff9b7 Mon Sep 17 00:00:00 2001 From: mlemanczyk Date: Sun, 30 Apr 2023 22:10:39 +0200 Subject: [PATCH] Benchmarks updated. --- .../Results/AllInOneBenchmarks.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Recyclable.Collections.Benchmarks/Results/AllInOneBenchmarks.txt b/Recyclable.Collections.Benchmarks/Results/AllInOneBenchmarks.txt index 97593b9..bf3a53a 100644 --- a/Recyclable.Collections.Benchmarks/Results/AllInOneBenchmarks.txt +++ b/Recyclable.Collections.Benchmarks/Results/AllInOneBenchmarks.txt @@ -31,10 +31,12 @@ | RecyclableArrayList_SetItem | 2,547,059.6540 ns | 9,002.9953 ns | 7,980.9208 ns | 2,542,056.8359 ns | 2.170 | 0.01 | - | - | - | 2 B | 0.000 | | RecyclableList_SetItem | 2,326,771.9866 ns | 3,186.0942 ns | 2,824.3895 ns | 2,326,636.7188 ns | 1.981 | 0.01 | - | - | - | 2 B | 0.000 | -| List_Add | 6,507,973.8528 ns | 130,648.8061 ns | 374,855.9157 ns | 6,502,201.1719 ns | 5.457 | 0.23 | 156.2500 | 93.7500 | 93.7500 | 8389554 B | 2.097 | -| PooledList_Add | 3,525,004.4922 ns | 4,824.6367 ns | 4,028.7902 ns | 3,525,046.6797 ns | 3.002 | 0.01 | - | - | - | 60 B | 0.000 | -| RecyclableArrayList_Add | 3,727,375.5709 ns | 3,512.8985 ns | 2,933.4293 ns | 3,728,521.8750 ns | 3.175 | 0.01 | - | - | - | 1226 B | 0.000 | -| RecyclableList_Add | 2,951,985.0651 ns | 4,403.2060 ns | 4,118.7616 ns | 2,952,207.6172 ns | 2.514 | 0.01 | - | - | - | 730 B | 0.000 | +| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Gen1 | Gen2 | Allocated | Alloc Ratio | +|------------------------------------------------------------ |----------:|----------:|----------:|------:|--------:|---------:|--------:|--------:|-----------:|------------:| +| List_Add | 11.002 ms | 0.2189 ms | 0.2996 ms | 1.36 | 0.04 | 140.6250 | 93.7500 | 93.7500 | 16778117 B | 236,311.51 | +| PooledList_Add | 8.117 ms | 0.0115 ms | 0.0102 ms | 1.00 | 0.00 | - | - | - | 71 B | 1.00 | +| RecyclableArrayList_Add | 8.771 ms | 0.0169 ms | 0.0141 ms | 1.08 | 0.00 | - | - | - | 1233 B | 17.37 | +| RecyclableList_Add | 6.024 ms | 0.1101 ms | 0.1030 ms | 0.74 | 0.01 | - | - | - | 3317 B | 46.72 | | List_Add_WithCapacity | 3,724,682.0668 ns | 88,719.4866 ns | 260,198.8962 ns | 3,717,873.0469 ns | 3.326 | 0.09 | 50.7813 | 50.7813 | 50.7813 | 4000368 B | 1.000 | | PooledList_Add_WithCapacity | 2,575,618.8337 ns | 5,277.9410 ns | 4,678.7572 ns | 2,575,805.2734 ns | 2.194 | 0.01 | - | - | - | 60 B | 0.000 |