Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.42 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.42 KB

About this repo

The cli-perf repo contains tools to monitor the performance of the dotnet/cli repo.

Setup Steps

  1. Install Visual Studio 2015 (required for the CLI build; the Community Edition is good enough)

  2. Install chocolatey (must run elevated):

    cd /d %USERPROFILE%
    @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
  3. Install required tools (must run elevated; best to start a clean shell):

    cd /d %USERPROFILE%
    choco install git python2 python microsoft-build-tools cmake.portable nuget.commandline -y
  4. Set up dependencies (must run elevated; best to start a clean shell):

    cd /d %USERPROFILE%
    setx /m PATH "%PATH%;C:\Program Files (x86)\MSBuild\14.0\Bin"
  5. Create a base directory--example only here, C:\DotNet can be replaced with any other path on the system. (Best to start this from a clean, non-elevated shell.)

    mkdir C:\DotNet
    cd /d C:\DotNet
  6. Clone this repo

    git clone https://github.com/dpodder/cli-perf.git

Running the Script

cd /d C:\DotNet\cli-perf\rolling-perf
py rolling-perf.py --branch rel/1.0.0 --dir C:\DotNet\working-dir