This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 150457 - Add Socks / HTTP Proxy to Profiler to correlate Request with Class/Method execution.
Summary: Add Socks / HTTP Proxy to Profiler to correlate Request with Class/Method exe...
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 00:42 UTC by areplogle
Modified: 2008-10-17 13:12 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description areplogle 2008-10-17 00:42:25 UTC
I think it would be great to see an optional HTTP or SOCKS proxy that the profiler could startup that you could setup your browser (or net based app) to 
use. 

Then, when you're profiling your flows, you'd only see the class / method execution specific to each request. This would save a lot of time and achieve a 
"timeline" type effect, as you rarely want to view all of your data at once. 

This would also allow you to give a breakdown on a package/class/method level (think pie-chart) on how much time of the request was spent where. By 
putting this into a very conceptual view, it makes it easier to understand the results and where you need to focus on faster. 

(ie. X request took 6 seconds total, 4 of them spent in freemarker template compilation, 1 in webwork action and 1 in your actual method). 


This would probably be outside of the scope of this enhancement, but using something like p6spy to proxy the sql requests so you can differentiate 
between slow methods that interface with DAO objects and when you just have a query that needs to be optimized. 

Andrew
Comment 1 jessholle 2008-10-17 13:12:47 UTC
On a related note, see enhancement issue #113276.

Setting root methods and getting full instrumentation is too much in a large system.  Starting with rough profiling and
moving to full instrumentation where the rough profiling indicates it worthwhile would be very helpful.