Profiler tags

Profiler tags represent sections of code that Guidewire Profiler can profile. A profiler tag is an alias for a piece of code in the Guidewire application for which you want to gather performance information.

The code represents profiler tags by instances of the gw.api.profiler.ProfilerTag class. The constructor for the ProfilerTag takes a String parameter defining the ProfilerTag name.

Always create a static final ProfilerTag object and preserve it. If you attempt to create more than one instance of the same ProfilerTag object, PolicyCenter generates a warning message in the application log that is similar to the following:
  • WARN Duplicate tag name: tag_name