Overview
The Runtime Diagnostics page includes a useful Performance Test feature designed to simulate intensive resource usage and measure the time it takes to complete the operation.
On this page:
Table of Contents | ||||
---|---|---|---|---|
|
The Performance Test can be accessed in Runtime > Runtime Diagnostics > Run Tools > "Performance Test"
The code snippet below is executed when this feature runs. It performs multiple memory allocations within a repetitive loop, creating and filling large blocks of data in each iteration to measure the Designer performance.
Code Block |
---|
DateTime t = DateTime.Now; for (int x = 0; x < 100; x++) { int size = 1024 * 1024; int[] memAlloc = new int[size]; for (int i = 0; i < size; i++) { memAlloc[i] = i; } } result = DateTime.Now - t; |
The expected result value is around or under 300 ms.
If your development environment has a number significantly high, it may be inadequate to larger applications, or with higher speed requirements.
If you are using virtual machines, the configuration settings on the Virtual Machine have impact on the execution, try modifying those settings if the performance isn't adequate.
In this section:
Page Tree | ||||
---|---|---|---|---|
|