-
Notifications
You must be signed in to change notification settings - Fork 47
Running the benchmarks
Chris Hughes edited this page Jan 5, 2018
·
2 revisions
The code for performing the benchmarks uses the BenchmarkDotNet framework.
To verify the test results you must:
- Install a version of the ASE Server.
- Clone the repository.
- Edit the AdoNetCore.AseClient.Tests\Benchmark\Benchmarks.cs file so that the
AseServer
,AsePort
,AseDatabase
,AseUsername
, andAsePassword
have valid values for the test server. Ideally provide a user with db_owner or higher permissions as the test harness executes DDL to create test tables and data. - Build.
- On the command line:
- cd [repo]\AdoNetCore.AseClient\test\AdoNetCore.AseClient.Benchmark\bin\Release\netcoreapp1.1
- dotnet AdoNetCore.AseClient.Benchmark.dll corefx
- cd [repo]\AdoNetCore.AseClient\test\AdoNetCore.AseClient.Benchmark\bin\Release\netcoreapp2.0
- dotnet AdoNetCore.AseClient.Benchmark.dll corefx
- cd [repo]\AdoNetCore.AseClient\test\AdoNetCore.AseClient.Benchmark\bin\Release\net4.6
- AdoNetCore.AseClient.Benchmark.exe corefx
- AdoNetCore.AseClient.Benchmark.exe sap
After each test run, the results will be located in a BenchmarkDotNet.Artifacts\results folder relative to where the test was executed from.
- Using the driver
- Developing the driver