-
-
Notifications
You must be signed in to change notification settings - Fork 10
Benchmarks
Mark Cilia Vincenti edited this page Jan 16, 2024
·
1 revision
This library has been extensively benchmarked against several other options and our benchmarks run publicly and transparently on Github Actions.
When striped locking is an option, the StripedAsyncKeyedLocker
consistently beats any other option in terms of both speed as well as memory allocations.
When the traditional dictionary-based method is used, AsyncKeyedLocker
with pooling provides a great balance in terms of speed and memory allocations, which is an excellent, safe go-to solution.
Check out the keyed locking benchmarks.
AsyncNonKeyedLocker
is also very heavily optimized and performs very favourably against other options tested.
Check out the non-keyed locking benchmarks.