Skip to content

Commit 12d2a5e

Browse files
authored
Update README.md
1 parent 3830e53 commit 12d2a5e

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,19 @@ using var d2 = await asyncLock.WriterLockAsync("123", cts.Token);
4545
| AsyncKeyLock | 10000 | 465.074 μs | 2.9952 μs | 2.8017 μs | 1.00 | 0.00 | 220.7031 | 1015.63 KB | 1.00 |
4646
| Nito | 10000 | 1,212.091 μs | 23.2923 μs | 31.0945 μs | 2.62 | 0.07 | 679.6875 | 3125 KB | 3.08 |
4747
| NeoSmart | 10000 | 86,948.942 μs | 289.1808 μs | 241.4791 μs | 187.08 | 1.14 | 2000.0000 | 9581.38 KB | 9.43 |
48+
49+
### Create and release key locks
50+
51+
| Method | NumberOfLocks | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio |
52+
|--------------- |-------------- |------------:|----------:|----------:|------:|--------:|---------:|-----------:|------------:|
53+
| AsyncKeyLock | 100 | 11.99 μs | 0.087 μs | 0.077 μs | 1.00 | 0.00 | 2.8839 | 13.28 KB | 1.00 |
54+
| AsyncKeyedLock | 100 | 18.72 μs | 0.114 μs | 0.107 μs | 1.56 | 0.01 | 3.9063 | 17.97 KB | 1.35 |
55+
| ImageSharpWeb | 100 | 29.43 μs | 0.177 μs | 0.166 μs | 2.45 | 0.02 | 3.7231 | 17.19 KB | 1.29 |
56+
| | | | | | | | | | |
57+
| AsyncKeyLock | 1000 | 120.84 μs | 0.524 μs | 0.491 μs | 1.00 | 0.00 | 28.8086 | 132.81 KB | 1.00 |
58+
| AsyncKeyedLock | 1000 | 190.34 μs | 1.461 μs | 1.367 μs | 1.58 | 0.01 | 39.0625 | 179.69 KB | 1.35 |
59+
| ImageSharpWeb | 1000 | 293.56 μs | 1.807 μs | 1.690 μs | 2.43 | 0.02 | 37.1094 | 171.88 KB | 1.29 |
60+
| | | | | | | | | | |
61+
| AsyncKeyLock | 10000 | 1,201.14 μs | 9.040 μs | 8.456 μs | 1.00 | 0.00 | 289.0625 | 1328.13 KB | 1.00 |
62+
| AsyncKeyedLock | 10000 | 1,856.96 μs | 9.053 μs | 8.468 μs | 1.55 | 0.01 | 390.6250 | 1796.88 KB | 1.35 |
63+
| ImageSharpWeb | 10000 | 2,973.14 μs | 17.736 μs | 16.590 μs | 2.48 | 0.02 | 371.0938 | 1718.75 KB | 1.29 |

0 commit comments

Comments
 (0)