Forum Discussion

FICO's avatar
FICO
Community Manager
15 years ago

Performance Tracking Data using java API's

Performance Tracking Data using java API's

Hi, I am new to FICO. 1. I am trying to get performance data for a particular project, However i am able to get the details in the IDE. Is there any way to get the details using java API's. 2. Also would like to know how the IDE renders the details in the console. Does it store the performance data in memory or use some repositories. 3. Can the performance details generated in IDE be stored into some data base. Kindly help me. Regards Sivaraj

3 Replies

  • FICO's avatar
    FICO
    Community Manager

    The performance monitor uses its own memory-based object constructs to track performance and I am afraid there is no way of getting to them through the API. You can, however, right-click on the performance results window and generate an HTML report with all the performance information collected during the run.

    You could also register a ServiceSessionMonitor listener implementation with some test instance of the rule server to get notified each time when any function/ruleset starts and finishes its execution, then do your own time calculations and collect relative performance metrics any way you want it.

  • FICO's avatar
    FICO
    Community Manager
    Hi, Thanks a lot for your reply, i am able to acheive it through ServiceSessionMonitors. (http://blaze.i.lithium.com/i/smilies/16x16_smiley-happy.gif) Regards Sivaraj
  • FICO's avatar
    FICO
    Community Manager

    One way that I totally forgot about is to implement a JMX listener/client and configure rule server to send performance event to it. Take a look at the example that comes with Blaze installation at c:\Blaze\Advisor69\examples\management\java\programmaticClient\performanceNotification.