Arvind's Arena

I want to know God's thoughts… the rest are details. Albert Einstein

Performance Analysis

with 3 comments

  I  would like to quote a dialogue from Spiderman , Peter Parker’s Uncle at a geniture tells him ” With power comes great responsibility” . Yes , when you are given the power and authority to develop and release  an application , it becomes your responsibility to make sure that you deliver it with care and perfection . Performance deciphers the application’s speed and responsiveness. It is the sum effect of objective performance facets such as algorithm choice, overall memory usage, object allocation and de-allocation dynamics, and multithreading design and runtime behavior. 

  The idea is to profile the application in the development phase itself that would save us the embarrassment of memory leaks , slow pages later when the application goes live ! Talking about Profiling , I was mesmerized by two of them Atlassian Profiler and JRockit Mission Control . Though the former has no no GUI but it provides adequate information of how long each method takes to execute . 

Ref : Atlassian Profiling

[250ms] - /atlassian/jira/secure/views/dashboard.jsp <-- jsp profiling
� [0ms] - JiraWebActionSupport.getRemoteUser()
� [50ms] - Dashboard.getLeftCol()
� � [20ms] - PortletManager.getPortalPageConfiguration() <-- factory object
� � [0ms] - PortalPageConfiguration.isDefault()
� � [0ms] - PortalPageConfiguration.getLeftPortletConfigs()
� [0ms] - List.iterator()
� � [0ms] - List.iterator() <-- even profiling Lists!
� [0ms] - Iterator.hasNext()
� � [0ms] - Iterator.hasNext()
� [0ms] -
� � [0ms] -

 Jrockit Mission Control is something bigger , one has to see the GUI to actually experience it . One can do Method profiling , JRA Recording , Memory profiling

JRockit Mission Control

Netbeans Profiler is also very good but I personally do not prefer to use an IDE for profiling for the simple reason the IDE becomes too heavy and the when we do Remote Profiling this  affects the IDE’s performance in the end . 🙂




Written by Arvind A

May 22, 2008 at 6:11 am

3 Responses

Subscribe to comments with RSS.

  1. A profiler in general is a performance analysis tool . I do not agree that it is a responsibility of a developer should do the profiling before releasing the code , the product owner and the client have to sit together to analyze that


    May 22, 2008 at 8:47 am

  2. Why not ? Can you tell me who is the best judge here ? The developer or the so called product owner or the client . In the end of the day it hardly matters for the product owner and the client .
    I hope you are following the IPL ! No matter what SRK says … who need to perform in the end ? The team if I am right . Finally the developer will be in the receiving end whether its the memory leak or the slow pages .
    Hey and in the end I would like to say that Project development is about a team and its about taking ownerships . Product OWNER doesn’t alone count here !

    Arvind A

    May 22, 2008 at 10:13 am

  3. Somehow i missed the point. Probably lost in translation 🙂 Anyway … nice blog to visit.

    cheers, Angleworm.


    June 19, 2008 at 10:56 am

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: