Overview
The Runtime Diagnostics page has includes a useful Performance Test feature . The main objective is designed to simulate intensive resource usage, which is useful for testing the performance of the Designerhelps evaluate the Designer performance.
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; |
Result The expected result value expected is under 300ms300 ms.
In this section:
Page Tree | ||||
---|---|---|---|---|
|