How to test eclipse plugin performance [message #70579] |
Thu, 11 May 2006 23:46  |
Eclipse User |
|
|
|
Maybe this question shouldn't be posted here .
But I really need you guys help.
Our company are moving to eclipse platform to develop quite complex
eclipse plugin-ins. The plugin is used to control the hardware through
using firmware command.
Since the timing being used is very very important for us. We want to
test the performance of our developed eclipse plugin.(for example, how
many times taked to start a eclipse plugin, how many time is taking of a
plugin method ext...).
I am quite new to tptp and don't if tptp has some tool for such
performance testing. If there is such tool ,PLS tell me. IF there isn't,
is there any currently exist tool (both commercial and opensource will be
ok).
BTW: Eclipse must be run on linux in our software environment.
Many Thanks
|
|
|
Re: How to test eclipse plugin performance [message #70756 is a reply to message #70579] |
Fri, 12 May 2006 10:15   |
Eclipse User |
|
|
|
Hi Ben,
Unfortunately, the only performance testing tools provided in TPTP is
the URL Test type that is used to performance (and function) test web
applications by driving load on a web application at the protocol level
(HTTP). We do not offer any performance metrics with the other test types.
However, once the following defects have been completed, you will be able to
emit performance/statistical metrics from your test during execution:
Expose Comptest Agent to JUnit test cases.
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=139053)
Test execution harness ignores non-execution test execution events.
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=139557)
Also, once the following defect has been completed, you will be able to
monitor your test, deployment host and the application under test for
performance/memory and statistical metrics:
Tests cannot be launched with a profiling set.
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=138736)
Paul
"Ben Xu" <xufengbing@gmail.com> wrote in message
news:e2adf38e89dd1167ea2bb4641392bc39$1@www.eclipse.org...
> Maybe this question shouldn't be posted here .
> But I really need you guys help.
>
> Our company are moving to eclipse platform to develop quite complex
> eclipse plugin-ins. The plugin is used to control the hardware through
> using firmware command.
>
> Since the timing being used is very very important for us. We want to
> test the performance of our developed eclipse plugin.(for example, how
> many times taked to start a eclipse plugin, how many time is taking of a
> plugin method ext...).
>
> I am quite new to tptp and don't if tptp has some tool for such
> performance testing. If there is such tool ,PLS tell me. IF there isn't,
> is there any currently exist tool (both commercial and opensource will be
> ok).
> BTW: Eclipse must be run on linux in our software environment.
>
> Many Thanks
>
|
|
|
Re: How to test eclipse plugin performance [message #70759 is a reply to message #70756] |
Fri, 12 May 2006 10:19   |
Eclipse User |
|
|
|
One further point, you can use the existing statistical agents and metrics
in TPTP to monitor the deployment host after the test has been executed.
Paul
"Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
news:e425a5$leg$1@utils.eclipse.org...
> Hi Ben,
> Unfortunately, the only performance testing tools provided in TPTP is
> the URL Test type that is used to performance (and function) test web
> applications by driving load on a web application at the protocol level
> (HTTP). We do not offer any performance metrics with the other test
types.
> However, once the following defects have been completed, you will be able
to
> emit performance/statistical metrics from your test during execution:
> Expose Comptest Agent to JUnit test cases.
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=139053)
>
> Test execution harness ignores non-execution test execution events.
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=139557)
>
> Also, once the following defect has been completed, you will be able
to
> monitor your test, deployment host and the application under test for
> performance/memory and statistical metrics:
> Tests cannot be launched with a profiling set.
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=138736)
>
> Paul
> "Ben Xu" <xufengbing@gmail.com> wrote in message
> news:e2adf38e89dd1167ea2bb4641392bc39$1@www.eclipse.org...
> > Maybe this question shouldn't be posted here .
> > But I really need you guys help.
> >
> > Our company are moving to eclipse platform to develop quite complex
> > eclipse plugin-ins. The plugin is used to control the hardware through
> > using firmware command.
> >
> > Since the timing being used is very very important for us. We want to
> > test the performance of our developed eclipse plugin.(for example, how
> > many times taked to start a eclipse plugin, how many time is taking of a
> > plugin method ext...).
> >
> > I am quite new to tptp and don't if tptp has some tool for such
> > performance testing. If there is such tool ,PLS tell me. IF there isn't,
> > is there any currently exist tool (both commercial and opensource will
be
> > ok).
> > BTW: Eclipse must be run on linux in our software environment.
> >
> > Many Thanks
> >
>
>
|
|
|
|
|
|
|
|
|
|
Re: How to test eclipse plugin performance [message #71108 is a reply to message #71026] |
Wed, 17 May 2006 01:43   |
Eclipse User |
|
|
|
Originally posted by: irbull.cs.uvic.ca
Ok, I spent a chunk of time looking into this and i have several
questions / observations. First, I will give a detailed description of
what I did:
1) Download a fresh copy of Eclipse 3.2 RC4
2) Use the Callisto update manager to get all callisto projects
3) restart Eclipse
4) Create a simple java application (with a main)
5) select profile as->java application and select Basic Memroy Analysis
This all worked. Note: I never started a RAStart, am I supposed to?
It seemed to work without this.
6) Create a plugin project (use the templates, create hello, World)
7) Launch a runtime workbench, press the hello, world button, look at my
nice dialog
8) close my runtime workbench
9) select profile as-> eclipse application
This threw an exception (see below). Also, when the runtime workbench
loads, my plugin is not there. (I don't mean it is not being profiled,
I mean it is not being loaded). There are also several errors in the
error log regarding platform did not match:
Platform filter did not match: (& (osgi.ws=motif) (osgi.os=solaris)
(osgi.arch=sparc))
(There were a whole bunch of these stating different platforms).
I ran this test under windows.
java.io.FileNotFoundException: C:\Documents and
Settings\irbull\workspace\.metadata\.plugins\org.eclipse.pde .core\Eclipse
Application" -dev
file:C:\Documents\org.eclipse.osgi\.manager\.fileTableLock (The
filename, directory name, or volume label syntax is incorrect)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(Unknown Source)
at
org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.loc k(Locker_JavaNio.java:30)
at
org.eclipse.osgi.storagemanager.StorageManager.lock(StorageM anager.java:387)
at
org.eclipse.osgi.storagemanager.StorageManager.open(StorageM anager.java:694)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileMa nager(BaseStorage.java:152)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize (BaseStorage.java:129)
at
org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(B aseAdaptor.java:124)
at
org.eclipse.osgi.framework.internal.core.Framework.initializ e(Framework.java:138)
at
org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:112)
at
org.eclipse.osgi.framework.internal.core.OSGi.createFramewor k(OSGi.java:90)
at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:286)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:173)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
java.io.FileNotFoundException: C:\Documents and
Settings\irbull\workspace\.metadata\.plugins\org.eclipse.pde .core\Eclipse
Application" -dev file:C:\Documents\config.ini (The filename, directory
name, or volume label syntax is incorrect)
Ian Bull wrote:
> Ok, as long as it is supposed to work I will spend time investigating
> it. I have pretty good experience with Eclipse and the PDE so I will
> let you know what I find. (probably just something set wrong on my
> end), but I have seen crazier things :)
>
> Cheers,
> ian
>
> Navid_Mehregani wrote:
>>
>> No, as far as I know this shouldn't be the case. Your plugin should
>> be loaded and you should be able to profile it. Check the error log
>> of your workbench. It might give you some hint as to why your plugin
>> isn't loaded. Click on Windows -> Show view -> Error log to see your
>> log file.
>>
>> Navid Mehregani
|
|
|
|
Re: How to test eclipse plugin performance [message #71309 is a reply to message #71149] |
Thu, 18 May 2006 22:57  |
Eclipse User |
|
|
|
to lan:
The "standard plugins" I mean are these plugins like "org.eclipse.ui"
"org.eclipse.osgi".
There are totally 24 plugins showed in the list named "plugins that
support tracing" in the "tracing tab" in the profile dialog.
while in the "plug-ins" tab.There are all kinds of plugins i installed
plus the plugin in the workspace.Like tptp plugins and helloworld plugin i
created.
Changing the profiling set willn't work change the plugins showed in
the "tracing tab"
to Navid:
Can I just upgrade Agent controller but stay on tptp 4.1.0.1?
Currently,we have choosed tptp4.1.0.1 and eclispe 3.1.x to develop
project to test our software. We can't simply move to tptp4.2 to solve
the problem.
IAC and RAC do have some problem in tptp 4.1.0.1 (I use the old agent
controller).
I started RAC correctly before i start eclispe.
Then i use tptp junit function and tptp profile function to profile
simple java programs.
Strangly,The TPTP junit funciton can't run sometime.(dead at 57%)
I reinstall all the soft, TPTP junit function runs agatin.
Thanks Navid and lan, I will invetigate more and learn more current
bugs on Agent controller and profile related things.
|
|
|
Powered by
FUDForum. Page generated in 0.03757 seconds