07.11.2014 Views

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

200<br />

<strong>Enterprise</strong> <strong>Library</strong> <strong>Test</strong> <strong>Guide</strong><br />

Profiling the Workload<br />

The number of users increases over time. The number of users was 1, 10, 50, 150, and<br />

300. There was no test mix and there was no think time.<br />

Setting Up the Load <strong>Test</strong><br />

The load test simulates many clients accessing the application block at the same time.<br />

Use the information in the workload to set the load test parameters. For more information,<br />

see Creating a Load <strong>Test</strong>.<br />

Recording Baseline and Application Block Metrics<br />

The baseline tests are a subset of the Data Access Application Block performance<br />

tests. The objective is to compare the overhead costs of using the Data Access Application<br />

Block’s ExecuteNonQuery method with the equivalent ADO.NET method and<br />

with <strong>Enterprise</strong> <strong>Library</strong> 1.1.<br />

Table 14 is the template to record the performance metrics for both the baseline and<br />

the application block.<br />

Table 14: Template to Record and Compare Metrics<br />

Operation Users TPS<br />

Response<br />

time (ms)<br />

Total<br />

transactions<br />

Overhead<br />

(percent)<br />

ADO.NET<br />

1 Baseline<br />

equivalent of<br />

ExecuteNonQuery<br />

method<br />

ADO.NET<br />

10 Baseline<br />

equivalent of<br />

ExecuteNonQuery<br />

method<br />

ADO.NET<br />

50 Baseline<br />

equivalent of<br />

ExecuteNonQuery<br />

method<br />

<strong>Enterprise</strong> <strong>Library</strong> 1 Baseline<br />

1.1 ExecuteNon-<br />

Query method<br />

<strong>Enterprise</strong> <strong>Library</strong> 10 Baseline<br />

1.1 ExecuteNon-<br />

Query method<br />

<strong>Enterprise</strong> <strong>Library</strong><br />

1.1 ExecuteNon-<br />

Query method<br />

50 Baseline

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!