Skip to content

Latest commit

 

History

History
72 lines (37 loc) · 3.82 KB

profile-applications-locally-db76619.md

File metadata and controls

72 lines (37 loc) · 3.82 KB

Profile Applications Locally

Remember:

SAP Business Technology Platform, Neo environment will sunset on December 31, 2028, subject to terms of customer or partner contracts.

For more information, see SAP Note 3351844.

Tip:

This documentation refers to SAP Business Technology Platform, Neo environment. If you are looking for documentation about other environments, see SAP Business Technology Platform ↗️.

After you have created a Web application and verified that it is functionally correct, you may want to inspect its runtime behavior by profiling the application. This helps you to:

  • Check and optimize memory usage
  • Identify frequently called operations (bottlenecks and hotspots)
  • Identify slow performance

Note:

You can use IDE of your choice for developing the application. If you want to use SAP JVM Profiler for profiling the application locally, you must use Eclipse IDE.

  1. Run your Web application locally. See Deploy Locally with the Console Client.
  2. Go to Eclipse IDE and open the Profiling perspective.
  3. In the Profile tab, choose VM Explorer. It will list all SAP JVM virtual machines running locally.
  4. Double click the virtual machine of your local server.
  5. The Profiling perspective is opened.
  6. Choose the type of analysis you want to perform.

You have successfully started a profiling run of a locally deployed Web application. You can now trigger your work load, create snapshots of the profiling data and analyze the profiling results.

Next Steps

When you have finished with your profiling session, you can stop it by disconnecting the profiling session from the Profile view.

Refer to the SAP JVM Profiler documentation for details about the available analysis options. The documentation is available as part of the SAP JVM Profiler plugin in the Eclipse IDE and can be found via Help > Help Contents > SAP JVM Profiler.