aspnet/Performance

Name: Performance

Owner: ASP.NET

Description: null

Created: 2015-02-28 01:20:51.0

Updated: 2018-05-18 16:14:52.0

Pushed: 2017-12-11 18:28:57.0

Homepage: null

Size: 2704

Language: C#

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ASP.NET Performance Tests

AppVeyor: AppVeyor

Travis: Travis

Performance tests and infrastructure for ASP.NET.

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.

Dependencies

Your system must have gulp, bower and loadtest 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.

Windows

To build, execute .\build.cmd.

Ubuntu

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:

To build, execute ./build.sh.

If you run into the “Cannot handle address family xxxxx” error, please refer to mono bug 30018.

OSX

To build, execute ./build.sh.

Microbenchmark tests

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.

estapp\HelloWorldMvc
et restore
et run

Run the load test client

adtest.ps1

A loadtest.sh script will also be added to cover cross platform testing.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.