Make use of .NET 9.0's System.Threading.Lock which is more performant
Open
is:task
- Dominant language
- C#
- Stars
- 2.4k
- Forks
- 658
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 9
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Task description
.NET 9.0's System.Threading.Lock provides a method for locking, instead of locking on an object, that is about 25% more performant.
Contributor guide
Research direction
No files, tests, or entry points are named. Start by checking the project's supported .NET target and locating uses of object-based locking; determine which sites can use System.Threading.Lock, then run the relevant test and performance checks to confirm the change is compatible and improves locking performance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100