Thabo
Thabo

Reputation: 1554

How to simulate hardware to measure .net application performance?

I am trying to optimize my application performance which is written by C# to do I am trying to get measurements for some functionality of my system such as (Throughput, Resource utilization, Workload, execution time, Garbage collections, etc) to measure theses stuffs I am using some type of Profilers and performance monitors.

I can see these tools are giving different results for different hardware configurations. So I want to limit my hardware configuration for minimum requirement.My problems are

Upvotes: 3

Views: 555

Answers (1)

Reed Copsey
Reed Copsey

Reputation: 564383

If i am doing wrong, can any one suggest what is the professional approach to do these testing?

The best "professional" approach, and the only truly accurate measure, is to build a machine with your minimum specs and test there. Any simulation will only be an approximation at best of a real system with those specifications.

That being said, many VM solutions allow you to change the resource allocation to a specific VM, which can help simulate reduced resource availability. For example, VMWare lets you allocate the number of processors, max memory, disk space, etc.

Upvotes: 6

Related Questions