summaryrefslogtreecommitdiff
path: root/perf.groovy
diff options
context:
space:
mode:
authorDrew Scoggins <anscoggi@microsoft.com>2017-02-03 15:08:19 -0800
committerDrew Scoggins <anscoggi@microsoft.com>2017-02-03 15:08:19 -0800
commit36415889747eb4f59a657484530de92da8b86851 (patch)
tree334098d71dc666d0b0e21b2f1583f4704e66d45f /perf.groovy
parent4fe623c9235e4df42be810d09ca7f282956e3cec (diff)
downloadcoreclr-36415889747eb4f59a657484530de92da8b86851.tar.gz
coreclr-36415889747eb4f59a657484530de92da8b86851.tar.bz2
coreclr-36415889747eb4f59a657484530de92da8b86851.zip
Add x86 perf runs to CoreCLR
This is a change to add x86 perf runs to the CoreCLR repo. This also changes the command to launch a perf run from a PR to include the architecture.
Diffstat (limited to 'perf.groovy')
-rw-r--r--perf.groovy8
1 files changed, 4 insertions, 4 deletions
diff --git a/perf.groovy b/perf.groovy
index 6b09310818..12d3d6d642 100644
--- a/perf.groovy
+++ b/perf.groovy
@@ -27,8 +27,8 @@ def static getOSGroup(def os) {
// Setup perflab tests runs
[true, false].each { isPR ->
['Windows_NT'].each { os ->
- ['x64'].each { architecture ->
- def newJob = job(Utilities.getFullJobName(project, "perf_perflab_${os}", isPR)) {
+ ['x64', 'x86'].each { architecture ->
+ def newJob = job(Utilities.getFullJobName(project, "perf_perflab_${os}_${architecture}", isPR)) {
// Set the label.
label('windows_clr_perf')
wrappers {
@@ -76,9 +76,9 @@ def static getOSGroup(def os) {
if (isPR) {
TriggerBuilder builder = TriggerBuilder.triggerOnPullRequest()
- builder.setGithubContext("${os} CoreCLR Perf Tests")
+ builder.setGithubContext("${os} ${architecture} CoreCLR Perf Tests")
builder.triggerOnlyOnComment()
- builder.setCustomTriggerPhrase("(?i).*test\\W+${os}\\W+perf.*")
+ builder.setCustomTriggerPhrase("(?i).*test\\W+${os}$_{architecture}\\W+perf.*")
builder.triggerForBranch(branch)
builder.emitTrigger(newJob)
}