Home » Newcomers » Newcomers » Java Proflier for Eclipse 3.2?
Java Proflier for Eclipse 3.2? [message #164540] |
Tue, 08 August 2006 10:34  |
Eclipse User |
|
|
|
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com
Is there a profiler plugin that work with Eclipse 3.2? I found an
eclipse profiler on sourcforge, but it's from 2004 so I doubt it will
work with 3.2.
I'm looking to do performance optimization, so I need to see what lines
of code use most of my cpu time, rather than needing memory profiling.
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
|
|
| |
Re: Java Proflier for Eclipse 3.2? [message #164570 is a reply to message #164540] |
Tue, 08 August 2006 11:34   |
Eclipse User |
|
|
|
David Kerber wrote:
> Is there a profiler plugin that work with Eclipse 3.2? I found an
> eclipse profiler on sourcforge, but it's from 2004 so I doubt it will
> work with 3.2.
>
> I'm looking to do performance optimization, so I need to see what lines
> of code use most of my cpu time, rather than needing memory profiling.
>
Since you have 3.2, use the Callisto Discovery Site in Help => Software
Updates => Find and Install... => Search for new features to install and
then select TPTP, Select Required to get its prerequisites, and then
you'll have TPTP's profiling capabilities available to you via the
Profiling and Logging perspective.
When you Profile... you want select the Monitor tab on the launch
window, turn off the default Basic Memory Analysis, and select Execution
Time Analysis instead. You might also want to Edit Options and Show
execution flow graphical details.
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
| |
Re: Java Proflier for Eclipse 3.2? [message #164625 is a reply to message #164570] |
Tue, 08 August 2006 13:58   |
Eclipse User |
|
|
|
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com
In article <ebaau7$6c7$1@utils.eclipse.org>, randy.d.smith@intel.com
says...
> David Kerber wrote:
> > Is there a profiler plugin that work with Eclipse 3.2? I found an
> > eclipse profiler on sourcforge, but it's from 2004 so I doubt it will
> > work with 3.2.
> >
> > I'm looking to do performance optimization, so I need to see what lines
> > of code use most of my cpu time, rather than needing memory profiling.
> >
>
> Since you have 3.2, use the Callisto Discovery Site in Help => Software
> Updates => Find and Install... => Search for new features to install and
> then select TPTP, Select Required to get its prerequisites, and then
> you'll have TPTP's profiling capabilities available to you via the
> Profiling and Logging perspective.
>
> When you Profile... you want select the Monitor tab on the launch
> window, turn off the default Basic Memory Analysis, and select Execution
> Time Analysis instead. You might also want to Edit Options and Show
> execution flow graphical details.
I'm having trouble getting this to start. The code I want to profile is
a servlet, set up to run under tomcat 5.5. It runs fine in debug mode,
so I know I have the server set up correctly. But how do I start
profiling (click-by-click, if possible!)? Do I select profile as from
the server, or from the app?
When I right-click on the project root and select "Profile as" |
"Profile on server", I get an error: "Error occurred during
initialization of VM. Could not find agent library on the library path
or in the local directory: piAgent"
When I select "Profile as" | Profile, it brings me to the profile
configuration screen. I'm not sure what to select there, but I've tried
"tomcat server", "java app" (but there's no sub main for it to run).
I can't figure out where to go from there.
Thanks for any suggestions.
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
|
|
|
Re: Java Proflier for Eclipse 3.2? [message #164634 is a reply to message #164625] |
Tue, 08 August 2006 14:14   |
Eclipse User |
|
|
|
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com
Followup: I found piAgent.dll, in:
C:\Program Files\eclipse32\eclipse\plugins
\org.eclipse.hyades.execution.win32.x86_4.2.0.v200606131519
Why wouldn't it be found when it's needed? Is maybe the path too long?
In article <MPG.1f429ac025cc942d989697@news.eclipse.org>,
ns_dkerber@ns_WarrenRogersAssociates.com says...
> In article <ebaau7$6c7$1@utils.eclipse.org>, randy.d.smith@intel.com
> says...
> > David Kerber wrote:
> > > Is there a profiler plugin that work with Eclipse 3.2? I found an
> > > eclipse profiler on sourcforge, but it's from 2004 so I doubt it will
> > > work with 3.2.
> > >
> > > I'm looking to do performance optimization, so I need to see what lines
> > > of code use most of my cpu time, rather than needing memory profiling.
> > >
> >
> > Since you have 3.2, use the Callisto Discovery Site in Help => Software
> > Updates => Find and Install... => Search for new features to install and
> > then select TPTP, Select Required to get its prerequisites, and then
> > you'll have TPTP's profiling capabilities available to you via the
> > Profiling and Logging perspective.
> >
> > When you Profile... you want select the Monitor tab on the launch
> > window, turn off the default Basic Memory Analysis, and select Execution
> > Time Analysis instead. You might also want to Edit Options and Show
> > execution flow graphical details.
>
> I'm having trouble getting this to start. The code I want to profile is
> a servlet, set up to run under tomcat 5.5. It runs fine in debug mode,
> so I know I have the server set up correctly. But how do I start
> profiling (click-by-click, if possible!)? Do I select profile as from
> the server, or from the app?
>
> When I right-click on the project root and select "Profile as" |
> "Profile on server", I get an error: "Error occurred during
> initialization of VM. Could not find agent library on the library path
> or in the local directory: piAgent"
>
> When I select "Profile as" | Profile, it brings me to the profile
> configuration screen. I'm not sure what to select there, but I've tried
> "tomcat server", "java app" (but there's no sub main for it to run).
>
> I can't figure out where to go from there.
>
> Thanks for any suggestions.
>
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
|
|
|
Re: Java Proflier for Eclipse 3.2? [message #164729 is a reply to message #164634] |
Wed, 09 August 2006 03:39   |
Eclipse User |
|
|
|
Originally posted by: surya_is_the_man.yahoo.com
David Kerber wrote:
> Followup: I found piAgent.dll, in:
> C:Program Fileseclipse32eclipseplugins
> org.eclipse.hyades.execution.win32.x86_4.2.0.v200606131519
> Why wouldn't it be found when it's needed? Is maybe the path too long?
> In article <MPG.1f429ac025cc942d989697@news.eclipse.org>,
> ns_dkerber@ns_WarrenRogersAssociates.com says...
>> In article <ebaau7$6c7$1@utils.eclipse.org>, randy.d.smith@intel.com
>> says...
>> > David Kerber wrote:
>> > > Is there a profiler plugin that work with Eclipse 3.2? I found an
>> > > eclipse profiler on sourcforge, but it's from 2004 so I doubt it will
>> > > work with 3.2.
>> > >
>> > > I'm looking to do performance optimization, so I need to see what lines
>> > > of code use most of my cpu time, rather than needing memory profiling.
>> > >
>> >
>> > Since you have 3.2, use the Callisto Discovery Site in Help => Software
>> > Updates => Find and Install... => Search for new features to install and
>> > then select TPTP, Select Required to get its prerequisites, and then
>> > you'll have TPTP's profiling capabilities available to you via the
>> > Profiling and Logging perspective.
>> >
>> > When you Profile... you want select the Monitor tab on the launch
>> > window, turn off the default Basic Memory Analysis, and select Execution
>> > Time Analysis instead. You might also want to Edit Options and Show
>> > execution flow graphical details.
>>
>> I'm having trouble getting this to start. The code I want to profile is
>> a servlet, set up to run under tomcat 5.5. It runs fine in debug mode,
>> so I know I have the server set up correctly. But how do I start
>> profiling (click-by-click, if possible!)? Do I select profile as from
>> the server, or from the app?
>>
>> When I right-click on the project root and select "Profile as" |
>> "Profile on server", I get an error: "Error occurred during
>> initialization of VM. Could not find agent library on the library path
>> or in the local directory: piAgent"
>>
>> When I select "Profile as" | Profile, it brings me to the profile
>> configuration screen. I'm not sure what to select there, but I've tried
>> "tomcat server", "java app" (but there's no sub main for it to run).
>>
>> I can't figure out where to go from there.
>>
>> Thanks for any suggestions.
>>
Could it be the space in Program Files? I made sure this time when I made
my custom XP Pro disk to make sure that directory had no space in its name.
|
|
| | | | |
Re: Java Proflier for Eclipse 3.2? [message #165081 is a reply to message #165017] |
Thu, 10 August 2006 16:30  |
Eclipse User |
|
|
|
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com
In article <ebfnho$gbf$1@utils.eclipse.org>, randy.d.smith@intel.com
says...
....
> Are you saying that you unzipped your installation INTO a directory
> called eclipse32? Or are you saying you unzipped, and then moved the
> subdirectory "eclipse" to "eclipse32"? If the latter, that is quite
> likely the problem.
Yes, it was the latter, so I'll try changing it back. I kind of assumed
(yeah, I know what that does!!) that the top-level folder name wouldn't
matter. Profiling seems to be the only part that doesn't like it; the
WTP handled it with no trouble.
>
> Nobody cares where the eclipse subdirectory is put, but you're right
> that there is built-in the understanding that "eclipse" is the top-level
> directory of the actual installation... just as it is assumed that
> "plugins" and "features" remain the names they're given. I'd be
> surprised if this was the only place that the assumption is made that
> "eclipse" remain unchanged.
>
> But you're free to file a bugzilla on the profiling tool asking them to
> not hardwire that particular part of the tree's name... not sure how it
> would be dealt with!
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
|
|
|
Goto Forum:
Current Time: Wed Jul 23 12:11:10 EDT 2025
Powered by FUDForum. Page generated in 0.66428 seconds
|