|
Profiling |
Top Previous Next |
|
In this chapter you will learn how to profile your application with GuiProf interactively. If you would like to set up GuiProf for command-line profiling, refer to the chapter Command Line. Prerequisites You need to specify the program to profile. If you have loaded exactly one executable assembly, GuiProf considers it as the program to start. Otherwise, you can set it in Project Settings. Profiling Press Profile button If you switch on auto-updating in menu Profile → Auto-Update Event Counters, GuiProf will update the test progress in real-time. It's a nice feature to learn how GuiProf works. Once you have become familiar with it, you can switch auto-update off. You can even close GuiProf main application to free all system resources for your tests. Profiling continues in the background until you close your program. Then you can reopen GuiProf to analyze your work. During profiling you can make runtime snapshots - models of all GUI objects in your program. Event Logs GuiProf profiler records all your actions in an event log. It creates one event log for each profiling session. The logs are accumulated over time. GuiProf automatically consolidates them to measure the overall test progress. This allows you to split your tests into small steps. You can set the folder for event logs in Project Settings. See Also
|