Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 3700c5b

Browse files
author
José Rivero
authored
Update to a xUnit Performance Api that has a bigger Etw buffer size. … (#30328)
* Update to a xUnit Performance Api that has a bigger Etw buffer size. (#29229) These change is to alleviate the frequent failures on the Concurrent tests due to the lost of events, which blocks uploading any data on Windows. * Adding the respective changes to `perf.groovy`
1 parent 6b38470 commit 3700c5b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

dependencies.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<RuntimeNativeSystemDataSqlClientSniPackageVersion>4.4.0</RuntimeNativeSystemDataSqlClientSniPackageVersion>
4646

4747
<AppXRunnerVersion>1.0.3-prerelease-00921-01</AppXRunnerVersion>
48-
<XunitPerfAnalysisPackageVersion>1.0.0-beta-build0018</XunitPerfAnalysisPackageVersion>
48+
<XunitPerfAnalysisPackageVersion>1.0.0-beta-build0019</XunitPerfAnalysisPackageVersion>
4949
<TraceEventPackageVersion>2.0.5</TraceEventPackageVersion>
5050
<XunitNetcoreExtensionsVersion>2.1.0-rc1-02911-02</XunitNetcoreExtensionsVersion>
5151

perf.groovy

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def osShortName = ['Windows 10': 'win10',
9595
"py \"%WORKSPACE%\\Tools\\Microsoft.BenchView.JSONFormat\\tools\\submission-metadata.py\" --name " + "\"" + benchViewName + "\"" + " --user-email " + "\"dotnet-bot@microsoft.com\"\n" +
9696
"py \"%WORKSPACE%\\Tools\\Microsoft.BenchView.JSONFormat\\tools\\build.py\" git --branch %GIT_BRANCH_WITHOUT_ORIGIN% --type " + runType)
9797
batchFile("py \"%WORKSPACE%\\Tools\\Microsoft.BenchView.JSONFormat\\tools\\machinedata.py\"")
98-
batchFile("call \"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat\" x86 && build-managed.cmd -release -tests -- /p:Performance=true /p:TargetOS=${osGroup} /m:1 /p:LogToBenchview=true /p:BenchviewRunType=${runType}")
98+
batchFile("call \"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat\" x86 && build-managed.cmd -release -tests -- /p:Performance=true /p:TargetOS=${osGroup} /m:1 /p:LogToBenchview=true /p:BenchviewRunType=${runType} /p:PerformanceType=Profile")
9999
}
100100
}
101101
else {
@@ -113,7 +113,7 @@ def osShortName = ['Windows 10': 'win10',
113113
"python3.5 \"\${WORKSPACE}/Tools/Microsoft.BenchView.JSONFormat/tools/submission-metadata.py\" --name " + "\"" + benchViewName + "\"" + " --user-email " + "\"dotnet-bot@microsoft.com\"\n" +
114114
"python3.5 \"\${WORKSPACE}/Tools/Microsoft.BenchView.JSONFormat/tools/build.py\" git --branch \$GIT_BRANCH_WITHOUT_ORIGIN --type " + runType)
115115
shell("python3.5 \"\${WORKSPACE}/Tools/Microsoft.BenchView.JSONFormat/tools/machinedata.py\"")
116-
shell("bash ./build-managed.sh -release -tests -- /p:Performance=true /p:TargetOS=${osGroup} /m:1 /p:LogToBenchview=true /p:BenchviewRunType=${runType}")
116+
shell("bash ./build-managed.sh -release -tests -- /p:Performance=true /p:TargetOS=${osGroup} /m:1 /p:LogToBenchview=true /p:BenchviewRunType=${runType} /p:PerformanceType=Profile")
117117
}
118118
}
119119
}
@@ -135,14 +135,14 @@ def osShortName = ['Windows 10': 'win10',
135135
Utilities.standardJobSetup(newJob, project, isPR, "*/${branch}")
136136
newJob.with {
137137
logRotator {
138-
artifactDaysToKeep(30)
139-
daysToKeep(30)
140-
artifactNumToKeep(200)
141-
numToKeep(200)
138+
artifactDaysToKeep(14)
139+
daysToKeep(14)
140+
artifactNumToKeep(100)
141+
numToKeep(100)
142142
}
143143
wrappers {
144144
timeout {
145-
absolute(240)
145+
absolute(360)
146146
}
147147
}
148148
}

0 commit comments

Comments
 (0)