dotnet-installer/test
Daniel Podder afa471cde3 Add script to run and compare CLI perf tests (#2746)
* Add script to run and compare CLI perf tests

tests/Performance/run-perftests.py is a Python3 script that fetches all
of the dependencies needed to run the perf tests in test/Performance
locally. It can run the perf tests for a single dotnet.exe, or run two
dotnet.exe instances sequentially and compare the results between them.

Basic usage for a single test:
  run-perftests.py --name "runid" ...\dotnet.exe

Usage for a comparison run:
  run-perftests.py --name "runid" ...\dotnet.exe --base ...\dotnet.exe

For more detailed usage:
  run-perftests.py -h

* run-perftests: fix publish xunit.perf.runner.cli

The code that builds xunit-performance would skip publishing
Microsoft.DotNet.xunit.performance.runner.cli due to a bug in the
condition to check whether it was published already or not. To fix the
issue and simplify the logic, I'm making it always publish when
building the project, instead of building and publishing separately.

* run-perftests: add support for python2

* run-perftests.py: fix framework version issue

The perf test harness was failing with "stage 0" binaries due to an issue
finding the correct installed framework version. The fix is to delete the
project.lock.json followed by a dotnet restore before each run, using the
dotnet.exe that is about to be tested. (Kudos to @brianrob for the debugging
help and suggested fix!)
2016-05-02 17:07:10 -07:00
..
ArgumentForwardingTests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
ArgumentsReflector Fix test project imports to be consistent. 2016-04-21 11:42:30 -05:00
binding-redirects.Tests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
dotnet-build.Tests Merge pull request #2792 from eerhardt/Relative 2016-05-02 18:53:57 -05:00
dotnet-compile-fsc.Tests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
dotnet-compile.Tests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
dotnet-compile.UnitTests Merge pull request #2792 from eerhardt/Relative 2016-05-02 18:53:57 -05:00
dotnet-new.Tests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
dotnet-pack.Tests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
dotnet-projectmodel-server.Tests refactor WorkspaceContext (#2736) 2016-05-02 11:32:24 -07:00
dotnet-publish.Tests Move efs to shared runtime 2016-05-02 09:36:02 -07:00
dotnet-resgen.Tests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
dotnet-run.Tests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
dotnet-test.Tests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
dotnet-test.UnitTests Merge pull request #2792 from eerhardt/Relative 2016-05-02 18:53:57 -05:00
dotnet.Tests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
EndToEnd Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
Installer make 'platform' flag dependent upon CLI bitness 2016-04-12 16:11:00 -07:00
Kestrel.Tests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
Microsoft.DotNet.Cli.Utils.Tests Updating NuGet references from beta to rc. 2016-05-02 09:29:51 -05:00
Microsoft.DotNet.Compiler.Common.Tests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
Microsoft.DotNet.ProjectModel.Tests Added missed warnings for deprecated schema 2016-05-02 13:22:42 -07:00
Microsoft.DotNet.Tools.Tests.Utilities Execute 'csc' with working directory set to the project directory. 2016-05-01 22:46:03 -05:00
Microsoft.Extensions.DependencyModel.Tests Move efs to shared runtime 2016-05-02 09:36:02 -07:00
Performance Add script to run and compare CLI perf tests (#2746) 2016-05-02 17:07:10 -07:00
ScriptExecutorTests Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
TestingAbstractions Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00