summaryrefslogtreecommitdiff
path: root/tests/src/performance/Scenario/JitBench/Runner/BenchmarkConfiguration.cs
diff options
context:
space:
mode:
authorKoundinya Veluri <kouvel@users.noreply.github.com>2018-08-17 08:31:44 -0700
committerGitHub <noreply@github.com>2018-08-17 08:31:44 -0700
commitf6174b93d100d46f4641f040b6de5fa254c1ee71 (patch)
treebfe4f7b09fc8ce854c37cdd68025e19be161a57f /tests/src/performance/Scenario/JitBench/Runner/BenchmarkConfiguration.cs
parenta81d9103d23f714a0bd3efb900321b0b9f383311 (diff)
downloadcoreclr-f6174b93d100d46f4641f040b6de5fa254c1ee71.tar.gz
coreclr-f6174b93d100d46f4641f040b6de5fa254c1ee71.tar.bz2
coreclr-f6174b93d100d46f4641f040b6de5fa254c1ee71.zip
Enable Tiered Compilation by default (#19525)
Enable Tiered Compilation by default 1) Changes the default state of the tiered compilation feature check to be ON BY DEFAULT 2) Removed comments about the source about this being a work in progress. Although it will surely continue to evolve and improve, remaining issues would be better tracked in our issue tracking system with the same default presumption as other runtime features - assume it works unless noted otherwise. 3) Adjusts a number of tests and automated scripts that made assumptions that the default setting of this feature is off. 4) Stop accepting the deprecated env var COMPLUS_EXPERIMENTAL_TieredCompilation. I'm not aware it has any remaining usage but if so we're going to find out. 5) Adjust config names for JitBench
Diffstat (limited to 'tests/src/performance/Scenario/JitBench/Runner/BenchmarkConfiguration.cs')
-rw-r--r--tests/src/performance/Scenario/JitBench/Runner/BenchmarkConfiguration.cs13
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/src/performance/Scenario/JitBench/Runner/BenchmarkConfiguration.cs b/tests/src/performance/Scenario/JitBench/Runner/BenchmarkConfiguration.cs
index 7043489fa5..bdc8ac7dad 100644
--- a/tests/src/performance/Scenario/JitBench/Runner/BenchmarkConfiguration.cs
+++ b/tests/src/performance/Scenario/JitBench/Runner/BenchmarkConfiguration.cs
@@ -11,22 +11,19 @@ namespace JitBench
Name = "Default";
EnvironmentVariables = new Dictionary<string, string>();
}
+
public bool IsDefault { get { return Name == "Default"; } }
public string Name { get; set; }
public Dictionary<string, string> EnvironmentVariables { get; private set; }
- public BenchmarkConfiguration WithTiering()
+ public BenchmarkConfiguration WithoutTiering()
{
- return WithModifier("Tiering", "COMPLUS_TieredCompilation", "1");
+ return WithModifier("NoTiering", "COMPlus_TieredCompilation", "0");
}
public BenchmarkConfiguration WithMinOpts()
{
- BenchmarkConfiguration configuration =
- WithModifier("Minopts", "COMPLUS_JitMinOpts", "1").
- WithModifier("Tiering", "COMPLUS_TieredCompilation", "0");
- configuration.Name = "Minopts";
- return configuration;
+ return WithModifier("Minopts", "COMPlus_JitMinOpts", "1");
}
public BenchmarkConfiguration WithNoR2R()
@@ -36,7 +33,7 @@ namespace JitBench
public BenchmarkConfiguration WithNoNgen()
{
- return WithModifier("NoNgen", "COMPLUS_ZapDisable", "1");
+ return WithModifier("NoNgen", "COMPlus_ZapDisable", "1");
}
private BenchmarkConfiguration WithModifier(string modifier, string variableName, string variableValue)