From fb0ef499b2af2985b0f5baae41459a9c943d2b99 Mon Sep 17 00:00:00 2001 From: Ian Hays Date: Tue, 13 Oct 2015 14:40:47 -0700 Subject: [PATCH] Updated perf testing targets Update to the latest xunit-performance package. Also added a target that will add the new OptimizeForBenchmarks assembly tag to any perf test build. This tag was added in Microsoft/xunit-performance#94 --- .../PackageFiles/PerfTesting.targets | 10 ++++-- .../PackageFiles/test-runtime/project.json | 4 +-- .../test-runtime/project.lock.json | 32 +++++++++---------- 3 files changed, 26 insertions(+), 20 deletions(-) diff --git a/src/Microsoft.DotNet.Build.Tasks/PackageFiles/PerfTesting.targets b/src/Microsoft.DotNet.Build.Tasks/PackageFiles/PerfTesting.targets index a44f3aeb2b..600946d2d2 100644 --- a/src/Microsoft.DotNet.Build.Tasks/PackageFiles/PerfTesting.targets +++ b/src/Microsoft.DotNet.Build.Tasks/PackageFiles/PerfTesting.targets @@ -9,7 +9,7 @@ Microsoft.DotNet.xunit.performance.runner.Windows - 1.0.0-alpha-build0022 + 1.0.0-alpha-build0023 $(PackagesDir)$(XunitPerfRunnerPackageId)/$(XunitPerfRunnerPackageVersion) $(TestPath)$(DebugTestFrameworkFolder)/xunit.performance.run.exe @@ -17,9 +17,15 @@ Microsoft.DotNet.xunit.performance.analysis - 1.0.0-alpha-build0022 + 1.0.0-alpha-build0023 $(PackagesDir)$(XunitPerfAnalysisPackageId)/$(XunitPerfAnalysisPackageVersion)/tools/xunit.performance.analysis.exe + + + + + + diff --git a/src/Microsoft.DotNet.Build.Tasks/PackageFiles/test-runtime/project.json b/src/Microsoft.DotNet.Build.Tasks/PackageFiles/test-runtime/project.json index 3ec695cca1..bdb4d2db05 100644 --- a/src/Microsoft.DotNet.Build.Tasks/PackageFiles/test-runtime/project.json +++ b/src/Microsoft.DotNet.Build.Tasks/PackageFiles/test-runtime/project.json @@ -8,8 +8,8 @@ "OpenCover": "4.6.166", "ReportGenerator": "2.3.1", - "Microsoft.DotNet.xunit.performance.analysis": "1.0.0-alpha-build0022", - "Microsoft.DotNet.xunit.performance.runner.Windows": "1.0.0-alpha-build0022", + "Microsoft.DotNet.xunit.performance.analysis": "1.0.0-alpha-build0023", + "Microsoft.DotNet.xunit.performance.runner.Windows": "1.0.0-alpha-build0023", "xunit": "2.1.0", "xunit.console.netcore": "1.0.2-prerelease-00101", diff --git a/src/Microsoft.DotNet.Build.Tasks/PackageFiles/test-runtime/project.lock.json b/src/Microsoft.DotNet.Build.Tasks/PackageFiles/test-runtime/project.lock.json index be009c98c2..8c664fb308 100644 --- a/src/Microsoft.DotNet.Build.Tasks/PackageFiles/test-runtime/project.lock.json +++ b/src/Microsoft.DotNet.Build.Tasks/PackageFiles/test-runtime/project.lock.json @@ -33,10 +33,10 @@ "lib/dotnet/Microsoft.CSharp.dll": {} } }, - "Microsoft.DotNet.xunit.performance.analysis/1.0.0-alpha-build0022": { + "Microsoft.DotNet.xunit.performance.analysis/1.0.0-alpha-build0023": { "type": "package" }, - "Microsoft.DotNet.xunit.performance.runner.Windows/1.0.0-alpha-build0022": { + "Microsoft.DotNet.xunit.performance.runner.Windows/1.0.0-alpha-build0023": { "type": "package", "dependencies": { "xunit.runner.console": "2.1.0" @@ -2021,10 +2021,10 @@ "lib/dotnet/Microsoft.CSharp.dll": {} } }, - "Microsoft.DotNet.xunit.performance.analysis/1.0.0-alpha-build0022": { + "Microsoft.DotNet.xunit.performance.analysis/1.0.0-alpha-build0023": { "type": "package" }, - "Microsoft.DotNet.xunit.performance.runner.Windows/1.0.0-alpha-build0022": { + "Microsoft.DotNet.xunit.performance.runner.Windows/1.0.0-alpha-build0023": { "type": "package", "dependencies": { "xunit.runner.console": "2.1.0" @@ -4691,10 +4691,10 @@ "lib/dotnet/Microsoft.CSharp.dll": {} } }, - "Microsoft.DotNet.xunit.performance.analysis/1.0.0-alpha-build0022": { + "Microsoft.DotNet.xunit.performance.analysis/1.0.0-alpha-build0023": { "type": "package" }, - "Microsoft.DotNet.xunit.performance.runner.Windows/1.0.0-alpha-build0022": { + "Microsoft.DotNet.xunit.performance.runner.Windows/1.0.0-alpha-build0023": { "type": "package", "dependencies": { "xunit.runner.console": "2.1.0" @@ -7398,13 +7398,13 @@ "ref/xamarinmac20/_._" ] }, - "Microsoft.DotNet.xunit.performance.analysis/1.0.0-alpha-build0022": { + "Microsoft.DotNet.xunit.performance.analysis/1.0.0-alpha-build0023": { "type": "package", "serviceable": true, - "sha512": "JwQJjSTP1HXDf9J2isVDlVauz/tcN9QJRuaABaAe9Y3qVlX56kcIr6mT22oEaWUOGo9kGIzt4iGHlZ/E655lhg==", + "sha512": "5HxKoXst0cF66OHUkvcHajilNjmeL1qMj5NQuam0CBWu2YLE9VB5Kt6xJ/AwCrWpvIc1IZBvB58sAy89R3pI6A==", "files": [ - "Microsoft.DotNet.xunit.performance.analysis.1.0.0-alpha-build0022.nupkg", - "Microsoft.DotNet.xunit.performance.analysis.1.0.0-alpha-build0022.nupkg.sha512", + "Microsoft.DotNet.xunit.performance.analysis.1.0.0-alpha-build0023.nupkg", + "Microsoft.DotNet.xunit.performance.analysis.1.0.0-alpha-build0023.nupkg.sha512", "Microsoft.DotNet.xunit.performance.analysis.nuspec", "tools/MathNet.Numerics.dll", "tools/Microsoft.Diagnostics.Tracing.TraceEvent.dll", @@ -7413,13 +7413,13 @@ "tools/xunit.performance.analysis.pdb" ] }, - "Microsoft.DotNet.xunit.performance.runner.Windows/1.0.0-alpha-build0022": { + "Microsoft.DotNet.xunit.performance.runner.Windows/1.0.0-alpha-build0023": { "type": "package", "serviceable": true, - "sha512": "YiCRPElKD5Rl1z8EVHYCeh9G74QSXe5EkSIFbSNbyGysEoS01i7apL6CzPUlJGyAigbLNUCsWmqtDsMhWTBvDA==", + "sha512": "Hwc3sfGZuX73x+RdoSMoIUL4uMJOblbNSIuqJhA3WXrzz39rxme+p9QVqPpnvADnj2DpcJxvdZH5h984lF9hAQ==", "files": [ - "Microsoft.DotNet.xunit.performance.runner.Windows.1.0.0-alpha-build0022.nupkg", - "Microsoft.DotNet.xunit.performance.runner.Windows.1.0.0-alpha-build0022.nupkg.sha512", + "Microsoft.DotNet.xunit.performance.runner.Windows.1.0.0-alpha-build0023.nupkg", + "Microsoft.DotNet.xunit.performance.runner.Windows.1.0.0-alpha-build0023.nupkg.sha512", "Microsoft.DotNet.xunit.performance.runner.Windows.nuspec", "tools/amd64/KernelTraceControl.dll", "tools/amd64/msdia120.dll", @@ -12125,8 +12125,8 @@ "coveralls.io >= 1.4", "OpenCover >= 4.6.166", "ReportGenerator >= 2.3.1", - "Microsoft.DotNet.xunit.performance.analysis >= 1.0.0-alpha-build0022", - "Microsoft.DotNet.xunit.performance.runner.Windows >= 1.0.0-alpha-build0022", + "Microsoft.DotNet.xunit.performance.analysis >= 1.0.0-alpha-build0023", + "Microsoft.DotNet.xunit.performance.runner.Windows >= 1.0.0-alpha-build0023", "xunit >= 2.1.0", "xunit.console.netcore >= 1.0.2-prerelease-00101", "xunit.runner.utility >= 2.1.0"