diff options
author | Smile Wei <xiwe@microsoft.com> | 2016-08-03 14:28:53 -0700 |
---|---|---|
committer | Smile Wei <xiwe@microsoft.com> | 2016-08-03 14:28:53 -0700 |
commit | ae7efddb3006eeb88f46c37c352a2c734316e60e (patch) | |
tree | 2c7c700e603b1758906d177302ce472800e0f87b /perf.groovy | |
parent | e444d65d03b11a2b81616a37e370453ad9bd8f08 (diff) | |
download | coreclr-ae7efddb3006eeb88f46c37c352a2c734316e60e.tar.gz coreclr-ae7efddb3006eeb88f46c37c352a2c734316e60e.tar.bz2 coreclr-ae7efddb3006eeb88f46c37c352a2c734316e60e.zip |
Automate the perf data collection for JIT CodeQuality benchmarks on Windows.
Diffstat (limited to 'perf.groovy')
-rw-r--r-- | perf.groovy | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/perf.groovy b/perf.groovy new file mode 100644 index 0000000000..b4e865a62e --- /dev/null +++ b/perf.groovy @@ -0,0 +1,22 @@ +[true, false].each { isPR -> + [‘Windows_NT’].each { os -> + def newJob = job(Utilities.getFullJobName(project, PERF JOB NAME, isPR)) { + // Set the label. + steps { + // Batch + batchFile("build-product.cmd debug x64") + batchFile("run-xunit-perf.cmd") + } + } + + Utilities.setMachineAffinity(newJob, os, 'latest-or-auto') // Just run against Windows_NT VM’s for now. + Utilities.standardJobSetup(newJob, project, isPR, "*/${branch}") + if (isPR) { + Utilities.addGithubPRTriggerForBranch(newJob, branch, "${os} Perf Tests") // Add a PR trigger. + } + else { + // Set a push trigger + Utilities.addGithubPushTrigger(newJob) + } + } +} |