From 4bcf11732296a27f5e3d9c074ad9bb7685ea8785 Mon Sep 17 00:00:00 2001 From: Mark Cilia Vincenti Date: Tue, 18 Oct 2022 10:16:46 +0200 Subject: [PATCH] Updated README with benchmarks and bumped test NuGet --- AsyncKeyedLock.Tests/AsyncKeyedLock.Tests.csproj | 11 ++++------- README.md | 3 +++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/AsyncKeyedLock.Tests/AsyncKeyedLock.Tests.csproj b/AsyncKeyedLock.Tests/AsyncKeyedLock.Tests.csproj index a9b73eb..8de83ee 100644 --- a/AsyncKeyedLock.Tests/AsyncKeyedLock.Tests.csproj +++ b/AsyncKeyedLock.Tests/AsyncKeyedLock.Tests.csproj @@ -9,9 +9,10 @@ - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all @@ -21,8 +22,4 @@ - - - - diff --git a/README.md b/README.md index cf0ec8f..6bb0783 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,9 @@ An asynchronous .NET Standard 2.0 library that allows you to lock based on a key For example, if you're processing transactions, you may want to limit to only one transaction per user so that the order is maintained, but meanwhile allowing parallel processing of multiple users. +## Benchmarks +Tests show that AsyncKeyedLock is [considerably faster than similar libraries](https://github.com/MarkCiliaVincenti/AsyncKeyedLockBenchmarks) due to its neat locking mechanism. + ## Installation The recommended means is to use [NuGet](https://www.nuget.org/packages/AsyncKeyedLock), but you could also download the source code from [here](https://github.com/MarkCiliaVincenti/AsyncKeyedLock/releases).