Novell Home

My Favorites

Close

Please to see your favorites.

Measuring performance in your custom code.

This document (7100008) is provided subject to the disclaimer at the end of this document.

Environment


NetIQ Access Governance Suite

Situation

Measuring performance in your custom code.

Resolution

The NetIQ API has a very simple way to measure performance statistics. These statistics, once your code has been run, are available within debug/meters.jsf. Within your rules or custom Java code add:

					include sailpoint.api.Meter;
					//Begin your code
					Meter.enterByName("A name that will show up in debug/meters.jsf");
					//Do Work
					Meter.exitByName("A name that will show up in debug/meters.jsf");
					//End of your code

This will allow number of calls, minimum execution time, maximum execution time, and average execution time to be calculated and available within the meters debug page (aka Call Timings from the debug menu).

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7100008
  • Creation Date:05-APR-13
  • Modified Date:07-AUG-13
    • NetIQAccess Governance

Did this document solve your problem? Provide Feedback