Browse Prior Art Database

Monitoring Runtime Performance with the Interface Repository Browser

IP.com Disclosure Number: IPCOM000123876D
Original Publication Date: 1999-Jun-01
Included in the Prior Art Database: 2005-Apr-05
Document File: 1 page(s) / 34K

Publishing Venue

IBM

Related People

Ku, WH: AUTHOR [+3]

Abstract

Any method that is called frequently is a candidate for performance improvement. Any method that ostensibly is called frequently but is not, indicates an incorrect design of a product. For these two reasons, it is desired to have a tool which shows the frequency methods are invoked during run time.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 91% of the total text.

Monitoring Runtime Performance with the Interface Repository Browser

   Any method that is called frequently is a candidate for
performance improvement.  Any method that ostensibly is called
frequently but is not, indicates an  incorrect design of a product.
For these two reasons, it is desired to have a tool which shows the
frequency methods are invoked during run time.

   Since the IR Browser represents the containment and
inheritance hierarchies of all classes and methods during run time,
the IR Browser can show the frequency each method is executed.  This
can be done by using the same kind of programming technique as found
in a typical trace program.  Instead of writing the information into
a log file, the trace routine would manipulate a counter for each
method entering information into shared memory, which the IR Browser
can access for every pre-defined time period (for example, each
second).  Using the number of times each method is called per second,
for example, the IR Browser can display the frequency of method
invocation.  Since a numerical value would change constantly and
rapidly at run time, making it difficult for the user to read, the
intensity of color could be used instead.  A method with a darker
color indicates the method is executed more often than a method of
lighter color.

   This tool will allow the user to analyze the runtime
frequency of method calls.  Since a dark color indicates the method
is used frequently, more performance improve...