Git Product home page Git Product logo

performance's Introduction

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

  • npm
  • gulp: npm install -g gulp
  • bower: npm install -g bower
  • loadtest: npm install -g loadtest

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:

  • 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
  • loadtest: sudo npm install -g loadtest
  • 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.

OSX

  • 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
  • loadtest: npm install -g loadtest
  • openssl: brew install openssl followed by brew link --force openssl (details here)
  • Mono

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.

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.

performance's People

Contributors

ajaybhargavb avatar benaadams avatar brennanconroy avatar chengtian avatar davidfowl avatar davidobando avatar dougbu avatar eilon avatar juntaoluo avatar kichalla avatar mnltejaswini avatar nathana1 avatar ntaylormullen avatar pakrym avatar pranavkm avatar rynowak avatar sajayantony avatar sivagms avatar taoliseki avatar tratcher avatar troydai avatar yuwamsft2 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.