This article is translated from the Bada development website of Samsung. |
Tracking Application Performance
You can create a special performance
Analyzer (Performance Analyzer) trace painting to achieve the purpose of application performance monitoring. With the help of tracing conversations, you can choose a monitor to track the performance of your application and store tracing results.
To use a Performance Analyzer to track the execution of your application, your application must be installed on the target terminal or emulator. You can runTarget
Device (Terminal)Or the application on emulator to install it. The application will be automatically installed when it is run for the first time.
To create a new tracing session:
- Make sure that the simulator is running or a target terminal is connected to your computer, and the application you want to track is not running in the simulator or target terminal at the moment.
- To run the Performance Analyzer, go to the Windows Start Menu and selectPrograms> Bada SDK <version> Performance AnalyzerOr run the \ <bada_sdk_home> \ tools \ performanceanalyzer \ performanceanalyzer.exe executable file.
- ClickNew trace (New tracing)Button.
- InNew traceWindow to add the following trace details:
Once tracing starts, tracing details will be displayed in the Performance AnalyzerViews (View.
To track the performance of your application:
If you do not specify that the application you want to track is on the target terminal or simulator when creating a tracing session, clickGet App listClick and select the address from which to obtain the Application List.
A list of installed applications obtained from the target terminal or simulator is displayed. Check whether the applications you want to track are displayed in the application drop-down list.
- To start tracing, clickStart traceButton.
After the application starts running on the target terminal or simulator,Start trace(Start tracing) button will becomeStop traceButton. Any event that occurs when the application is running will be detected and their real-time tracking information will be displayed in different Performance Analyzer views.
- To stop the tracing application, clickStop traceClick the button or clickEndKey.
The performance details about your application generated during the tracing process are stored in the Tracing file. You can use the toolbar to manage your Tracing file. In the toolbar, select:
- Open trace(Open tracing) to open an existing Tracing file.
The trace file is generally named trace.
- Save trace(Save tracing) saves a new Tracing file or any changes to the current Tracing file.
The Tracing file will be saved to the address you selected when creating this tracing session, in a folder named according to your tracing session. when you save the Tracing file, any current options in the event view will be stored in the tracking file like the tracing information.
Original English address:
Http://developer.bada.com/help_2.0/topic/com.osp.documentation.help/html/dev_env/performance_analyzer_project.htm