Performance tests and infrastructure for ASP.NET.
This project is part of ASP.NET 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the Home repo.
Your system must have gulp
and bower
readily available from the command line. Feel free to install them in any way you want. If you don't know how to go about it, here are some suggestions.
- npm
- gulp:
npm install -g gulp
- bower:
npm install -g bower
To build, execute .\build.cmd
.
First, update the package index by running sudo apt-get update
. Follow by installing basic libraries required by all ASP.NET projects on Linux as described here.
Then proceed to install gulp
, bower
and mono
:
- unzip:
sudo apt-get install unzip
- nodejs-legacy:
sudo apt-get install nodejs-legacy
- npm:
sudo apt-get install npm
- gulp:
sudo npm install -g gulp
- bower:
sudo npm install -g bower
- Mono (use package mono-complete)
To build, execute ./build.sh
.
If you run into the "Cannot handle address family xxxxx" error, please refer to mono bug 30018.
- brew, and run
brew update
after install to update the package index. - npm:
brew install npm
- gulp:
npm install -g gulp
- bower:
npm install -g bower
- Mono
To build, execute ./build.sh
.
These are targeted tests covering specific feature areas. The tests are quite self explanatory. You can use the loadtests.ps1
script to load test the specific scenario. We use the loadtest npm module in these scripts to keep them as simple as possible.
For e.g. here is how to run the Hello World MVC microbenchmark.
cd testapp\HelloWorldMvc
dotnet restore
dotnet run
Run the load test client
.\loadtest.ps1
A loadtest.sh
script will also be added to cover cross platform testing.