summaryrefslogtreecommitdiff
path: root/perf.groovy
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2017-04-26 16:01:52 -0700
committerPat Gavlin <pagavlin@microsoft.com>2017-04-27 15:33:31 -0700
commitabd76724643106cfdbd7b6ae80f1551a6d6db511 (patch)
tree45b66850ba2752be53f3b6c330c62774ca4db4a5 /perf.groovy
parent58b0918464bc68345371e81df0cbac07bafb8058 (diff)
downloadcoreclr-abd76724643106cfdbd7b6ae80f1551a6d6db511.tar.gz
coreclr-abd76724643106cfdbd7b6ae80f1551a6d6db511.tar.bz2
coreclr-abd76724643106cfdbd7b6ae80f1551a6d6db511.zip
Remove support for the x86 compat JIT from .NET Core.
These changes remove support for the x86 compat JIT from the build, the runtime, and the various perf/test scripts. Fixes #10733, #10734.
Diffstat (limited to 'perf.groovy')
-rw-r--r--perf.groovy37
1 files changed, 4 insertions, 33 deletions
diff --git a/perf.groovy b/perf.groovy
index 5a88ff13d2..1eb115d8bd 100644
--- a/perf.groovy
+++ b/perf.groovy
@@ -27,19 +27,8 @@ def static getOSGroup(def os) {
// Setup perflab tests runs
[true, false].each { isPR ->
['Windows_NT'].each { os ->
- ['x64', 'x86', 'x86jit32'].each { arch ->
+ ['x64', 'x86'].each { arch ->
def architecture = arch
- def testEnv = ''
-
- if (arch == 'x86jit32')
- {
- architecture = 'x86'
- testEnv = '-testEnv %WORKSPACE%\\tests\\x86\\compatjit_x86_testenv.cmd'
- }
- else if (arch == 'x86')
- {
- testEnv = '-testEnv %WORKSPACE%\\tests\\x86\\ryujit_x86_testenv.cmd'
- }
def newJob = job(Utilities.getFullJobName(project, "perf_perflab_${os}_${arch}", isPR)) {
// Set the label.
@@ -76,17 +65,10 @@ def static getOSGroup(def os) {
batchFile("py \"%WORKSPACE%\\Microsoft.BenchView.JSONFormat\\tools\\machinedata.py\"")
batchFile("set __TestIntermediateDir=int&&build.cmd ${configuration} ${architecture}")
- if (arch == 'x86jit32')
- {
- // Download package and copy compatjit into Core_Root
- batchFile("C:\\Tools\\nuget.exe install runtime.win7-${architecture}.Microsoft.NETCore.Jit -Source https://dotnet.myget.org/F/dotnet-core -OutputDirectory \"%WORKSPACE%\" -Prerelease -ExcludeVersion\n" +
- "xcopy \"%WORKSPACE%\\runtime.win7-x86.Microsoft.NETCore.Jit\\runtimes\\win7-x86\\native\\compatjit.dll\" \"%WORKSPACE%\\bin\\Product\\${os}.${architecture}.${configuration}\" /Y")
- }
-
batchFile("tests\\runtest.cmd ${configuration} ${architecture} GenerateLayoutOnly")
- batchFile("tests\\scripts\\run-xunit-perf.cmd -arch ${arch} -configuration ${configuration} ${testEnv} -testBinLoc bin\\tests\\${os}.${architecture}.${configuration}\\performance\\perflab\\Perflab -library -uploadToBenchview \"%WORKSPACE%\\Microsoft.Benchview.JSONFormat\\tools\" -runtype ${runType}")
- batchFile("tests\\scripts\\run-xunit-perf.cmd -arch ${arch} -configuration ${configuration} ${testEnv} -testBinLoc bin\\tests\\${os}.${architecture}.${configuration}\\Jit\\Performance\\CodeQuality -uploadToBenchview \"%WORKSPACE%\\Microsoft.Benchview.JSONFormat\\tools\" -runtype ${runType}")
+ batchFile("tests\\scripts\\run-xunit-perf.cmd -arch ${arch} -configuration ${configuration} -testBinLoc bin\\tests\\${os}.${architecture}.${configuration}\\performance\\perflab\\Perflab -library -uploadToBenchview \"%WORKSPACE%\\Microsoft.Benchview.JSONFormat\\tools\" -runtype ${runType}")
+ batchFile("tests\\scripts\\run-xunit-perf.cmd -arch ${arch} -configuration ${configuration} -testBinLoc bin\\tests\\${os}.${architecture}.${configuration}\\Jit\\Performance\\CodeQuality -uploadToBenchview \"%WORKSPACE%\\Microsoft.Benchview.JSONFormat\\tools\" -runtype ${runType}")
}
}
@@ -126,14 +108,9 @@ def static getOSGroup(def os) {
// Setup throughput perflab tests runs
[true, false].each { isPR ->
['Windows_NT'].each { os ->
- ['x64', 'x86', 'x86jit32'].each { arch ->
+ ['x64', 'x86'].each { arch ->
def architecture = arch
- if (arch == 'x86jit32')
- {
- architecture = 'x86'
- }
-
def newJob = job(Utilities.getFullJobName(project, "perf_throughput_perflab_${os}_${arch}", isPR)) {
// Set the label.
label('windows_clr_perf')
@@ -171,12 +148,6 @@ def static getOSGroup(def os) {
batchFile("py \"%WORKSPACE%\\Microsoft.BenchView.JSONFormat\\tools\\machinedata.py\"")
batchFile("set __TestIntermediateDir=int&&build.cmd ${configuration} ${architecture} skiptests")
batchFile("tests\\runtest.cmd ${configuration} ${architecture} GenerateLayoutOnly")
- if (arch == 'x86jit32')
- {
- // Download package and copy compatjit into Core_Root
- batchFile("C:\\Tools\\nuget.exe install runtime.win7-${architecture}.Microsoft.NETCore.Jit -Source https://dotnet.myget.org/F/dotnet-core -OutputDirectory \"%WORKSPACE%\" -Prerelease -ExcludeVersion\n" +
- "xcopy \"%WORKSPACE%\\runtime.win7-x86.Microsoft.NETCore.Jit\\runtimes\\win7-x86\\native\\compatjit.dll\" \"%WORKSPACE%\\bin\\Product\\${os}.${architecture}.${configuration}\" /Y")
- }
batchFile("py -u tests\\scripts\\run-throughput-perf.py -arch ${arch} -os ${os} -configuration ${configuration} -clr_root \"%WORKSPACE%\" -assembly_root \"%WORKSPACE%\\Microsoft.BenchView.ThroughputBenchmarks.${architecture}.${os}\\lib\" -benchview_path \"%WORKSPACE%\\Microsoft.Benchview.JSONFormat\\tools\" -run_type ${runType}")
}
}