4 references to RandomKey
Microsoft.Extensions.Caching.MicroBenchmarks (4)
DistributedCacheBenchmarks.cs (4)
122total += _backend.Get(RandomKey())?.Length ?? 0; 130Func<Task<byte[]?>> callback = () => _backend.GetAsync(RandomKey()); 150total += (await _backend.GetAsync(RandomKey()))?.Length ?? 0; 158Func<Task<byte[]?>> callback = () => _backend.GetAsync(RandomKey());