AtomicResource is a thread-safe utility for holding a single instance of a resource that can be lazily created, atomically reset, and asynchronously torn down, ensuring safe concurrent access and predictable lifecycle management.
An abstract class for benchmarking tests in .NET, integrating BenchmarkDotNet with Xunit's output helper and providing a method to log benchmark summaries asynchronously.