Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Profiling Data File
Profiling Data File [message #61501] Tue, 28 March 2006 18:51 Go to next message
Eclipse UserFriend
Originally posted by: qijia.cae.com

I am new user of TPTP.
now, I am able to profile my java application, and able to
analyze the data in Porfiling and Logging perspective.
but how to put log data into file automatically during profiling,
then analyze it later on.

Thanks in advance,
Qijia
Re: Profiling Data File [message #61549 is a reply to message #61501] Tue, 28 March 2006 19:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cindyjin.ca.ibm.com

Hi Qijia:

You can save your data to a report. Select your project, right click the
mouse and select report from the menu. There is also a report button in
the statistics views.

Best Regards
Cindy

Qijia wrote:
> I am new user of TPTP. now, I am able to profile my java application,
> and able to analyze the data in Porfiling and Logging perspective.
> but how to put log data into file automatically during profiling,
> then analyze it later on.
>
> Thanks in advance,
> Qijia
>
>
Re: Profiling Data File [message #61597 is a reply to message #61549] Tue, 28 March 2006 19:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: qijia.cae.com

Thanks, Cindy.
What I want is to put profiling data into log file automatically during
my application running.

Qijia
Re: Profiling Data File [message #61692 is a reply to message #61597] Tue, 28 March 2006 21:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 00789CDF8525713F_=
Content-Type: text/plain; charset="US-ASCII"

In your profile launch configuration, select the Profile tab -> select the
Destination sub tab -> check 'Send profiling data to a file' option ->
specify a file with .trcxml extension -> profile

You can later import the file by right clicking and selecting import ->
profiling data.

To view the content of the file: open it in winzip and extract the XML
file inside it.

Navid Mehregani
--=_alternative 00789CDF8525713F_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">In your profile launch configuration,
select the Profile tab -&gt; select the Destination sub tab -&gt; check
'Send profiling data to a file' option -&gt; specify a file with .trcxml
extension -&gt; profile</font>
<br>
<br><font size=2 face="sans-serif">You can later import the file by right
clicking and selecting import -&gt; profiling data.</font>
<br>
<br><font size=2 face="sans-serif">To view the content of the file: open
it in winzip and extract the XML file inside it.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 00789CDF8525713F_=--
Re: Profiling Data File [message #61739 is a reply to message #61692] Tue, 28 March 2006 22:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: qijia.cae.com

Hi, Navid Mehregani:

It works very well as you said. Thank you very much!

However, I'd like to go further.

I follow the instructions in the Guide of "Getting started with Agent
Controller" modified <Agent client="DYNAMIC" to <Agent client="HEADLESS",
now starting my application, the profiling data automatically goes into
the log file.
it's nice. but only one problem is that the profiling data only has memory
statistics, no execution statistics.

it seems Agent Controller uses the "default profiling Set" which only
includes Memory Analysis,

So my question is "how can I tell Agent Controler to use the customized
Profiling Set which includes Memory and Execution Analysis without using
Eclipse?".

thanks in advance,
Qijia
Re: Profiling Data File [message #61762 is a reply to message #61739] Wed, 29 March 2006 00:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 0002288585257140_=
Content-Type: text/plain; charset="US-ASCII"

Hi,

If you want to just profile to a file using RAC, you shouldn't use
'applicationControlled'. Use 'standalone' mode instead.
'applicationControlled' allows the user to control the profiler
programmatically and I don't think that's your intention.

Now about the profiling set issue.... The RAC actually collects
information about everything when you use either applicationControlled or
standalone mode. The problem is with the way you import the file. When
importing the file, make sure you select 'Show full data' in the profiling
file wizard in the 'Range' tab.

Navid Mehregani
--=_alternative 0002288585257140_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">If you want to just profile to a file
using RAC, you shouldn't use 'applicationControlled'. &nbsp;Use 'standalone'
mode instead. &nbsp;'applicationControlled' allows the user to control
the profiler programmatically and I don't think that's your intention.</font>
<br>
<br><font size=2 face="sans-serif">Now about the profiling set issue....
The RAC actually collects information about everything when you use either
applicationControlled or standalone mode. &nbsp;The problem is with the
way you import the file. &nbsp;When importing the file, make sure you select
'Show full data' in the profiling file wizard in the 'Range' tab. </font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani </font>
--=_alternative 0002288585257140_=--
Re: Profiling Data File [message #62698 is a reply to message #61762] Thu, 30 March 2006 16:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: qijia.cae.com

Hi, Navid Mehregani:

Thanks for info.
now I am able to profiling the application just using RAC.
when I am profiling the testing program, everything seems OK.
but when profiling my really application, my application become
extremely slow. without profiling, it takes about 30 seconds to
complete initial phase, however with profiling, it takes 10 minutes to
finish my application initial phase. the trace log file is bigger than 2GB
after 5 minutes.

I run my application standlone mode without filter file,
RAservice takes the most of my CPU time.
Can we tune RAC performance?
properly setting up filter file will be help?
I will try to use filter file to see if it will be help.
Any suggestions are really appreciated.

Thanks a lot!

Qijia
Re: Profiling Data File [message #63055 is a reply to message #62698] Thu, 30 March 2006 20:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

--=_mixed 0072C06785257141_=
Content-Type: multipart/alternative; boundary="=_alternative 0072C06885257141_="


--=_alternative 0072C06885257141_=
Content-Type: text/plain; charset="US-ASCII"

Yes, if you don't set your filters it will collect way too much data and
it will take too long to execute. You have to set your filters properly
to have the profiler collect data only on the classes you're intersted in.
What I typically do is exclude everything and include only the classes
I'm interested in. E.g:

com.mypackage* * INCLUDE
* * EXCLUDE

I'll make an attachment of a file with the default filter set. You might
find it useful.


--=_alternative 0072C06885257141_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Yes, if you don't set your filters it
will collect way too much data and it will take too long to execute. &nbsp;You
have to set your filters properly to have the profiler collect data only
on the classes you're intersted in. &nbsp;What I typically do is exclude
everything and include only the classes I'm interested in. &nbsp;E.g:</font>
<br>
<br><font size=2 face="sans-serif">com.mypackage* &nbsp; &nbsp; &nbsp;
&nbsp;* &nbsp; &nbsp; &nbsp; &nbsp;INCLUDE</font>
<br><font size=2 face="sans-serif">* &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*
&nbsp; &nbsp; &nbsp; &nbsp;EXCLUDE</font>
<br>
<br><font size=2 face="sans-serif">I'll make an attachment of a file with
the default filter set. &nbsp;You might find it useful.</font>
<br>
<br>
--=_alternative 0072C06885257141_=--
--=_mixed 0072C06785257141_=
Content-Type: text/plain; name="filters.txt"
Content-Disposition: attachment; filename="filters.txt"
Content-Transfer-Encoding: quoted-printable

java* * EXCLUDE
sun* * EXCLUDE
com.sun.* * EXCLUDE
com.ibm.* * EXCLUDE
org.eclipse.* * EXCLUDE
org.apache.* * EXCLUDE
org.w3c.* * EXCLUDE
org.xml.* * EXCLUDE
javax.xml.parsers.* * EXCLUDE
--=_mixed 0072C06785257141_=--
Re: Profiling Data File [message #63242 is a reply to message #63055] Sat, 01 April 2006 15:49 Go to previous message
Eclipse UserFriend
Originally posted by: qijia.cae.com

using filter file, it's much better now.
but if I exclude everything except my packages,
the profiling log file haa no execution statistics.

However, when using the filter.txt you attached,
the log file has execution statistics data.

So I cae play around the filter now.
Thank you very much!

Qijia
Previous Topic:Help!What is the work around for open file in AGR?
Next Topic:AGR incorrectly records non-UI (programmatic) action and playback fails
Goto Forum:
  


Current Time: Thu Mar 28 15:35:51 GMT 2024

Powered by FUDForum. Page generated in 0.02157 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top