A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/mangod9/Benchmarks below:

mangod9/Benchmarks: Benchmarks for ASP.NET Core

Benchmarks for ASP.NET Core including (but not limited to) scenarios from the TechEmpower Web Framework Benchmarks.

The current results tracked by the ASP.NET team are available at this location.

The benchmarking infrastructure is made of these components:

Setting up the infrastructure

This will assume you have Docker installed and are familiar with it.

Setup the Benchmark Server

The application should start on port 5001. Open a browser on this page and OK should be displayed.

Setup the Benchmark Client

The application should start on port 5002. Open a browser on this page and OK should be displayed.

Setup the Database Server

This will create and run a Docker image containing PostgreSql and the Fortunes database that is used by Tech Empower scenarios.

On your computer,

dotnet run -c Debug \
 --server "http://10.0.0.102:5001" \
 --client "http://10.0.0.101:5002" \
 --jobs "../Benchmarks/benchmarks.json.json" \
 --scenario Json

This will start the Json scenario using the Benchmarks application that is provided in https://github.com/aspnet/benchmarks/tree/master/src/Benchmarks. You can use another application by setting the correct arguments described on this page.

Selecting a database provider

Some of the Benchmarks application scenarios require the database to be selected from the driver. By default no database driver will be configured and these scenarios will fail. For instance, running the DbFortunesEF scenario will require the driver to have the --database argument.

A good default is --database PostgreSql which will use NpgSql, but other providers are available. See the command line arguments for the available ones.

The driver application can store the results of a job by passing a -q [connectionstring] argument. The connection string must point to an existing SQL Server database. The first time it's called the required table will be created. From there you can create reports using the tools of your choice.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4