11 references to NamedConfiguration
Microsoft.Extensions.ObjectPool.Microbenchmark (11)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (9)
27
{
NamedConfiguration
.Default, typeof(DefaultCoreConfig) },
28
{
NamedConfiguration
.Validation, typeof(DefaultCoreValidationConfig) },
29
{
NamedConfiguration
.Profile, typeof(DefaultCoreProfileConfig) },
30
{
NamedConfiguration
.Debug, typeof(DefaultCoreDebugConfig) },
31
{
NamedConfiguration
.PerfLab, typeof(DefaultCorePerfLabConfig) },
36
ConfigTypes[
NamedConfiguration
.Default] = configType;
41
ConfigTypes[
NamedConfiguration
.Validation] = validationConfigType;
49
if (!ConfigTypes.TryGetValue(ConfigName ??
NamedConfiguration
.Default, out var configType))
62
public static string ConfigName { get; set; } =
NamedConfiguration
.Default;
src\Shared\BenchmarkRunner\Program.cs (2)
78
AspNetCoreBenchmarkAttribute.ConfigName = AspNetCoreBenchmarkAttribute.
NamedConfiguration
.Validation;
97
AspNetCoreBenchmarkAttribute.ConfigName = AspNetCoreBenchmarkAttribute.
NamedConfiguration
.Debug;