Skip to content

Commit

Permalink
Updated README with benchmarks and bumped test NuGet
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCiliaVincenti committed Oct 18, 2022
1 parent bb1d3a2 commit 4bcf117
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
11 changes: 4 additions & 7 deletions AsyncKeyedLock.Tests/AsyncKeyedLock.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PackageReference Include="AsyncKeyedLock" Version="3.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand All @@ -21,8 +22,4 @@
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\AsyncKeyedLock\AsyncKeyedLock.csproj" />
</ItemGroup>

</Project>
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down

0 comments on commit 4bcf117

Please sign in to comment.