Plugin request (profiling and tracing in timemachine)

View: New views
3 Messages — Rating Filter:   Alert me  

Plugin request (profiling and tracing in timemachine)

by Oliver Stauss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hallo,

we started an interesting discussion in our team.

To measure the quality using metrics, tests and coverage is a very good thing, but not everything.

In some Projects you have some requirements like:

-          The max memory (per client session) for the System is limited to XX MB.

-          The response of the System (Service, UI-Action) is limited to XX seconds.

-          The System should be able to handle XX requests in YY seconds.

-          Etc…

 

OK you are (often) able to create unit-tests to automate such use-cases,

some tools are also able to visualize the results.

 

But the most interesting thing is to put this information in a timemachine!!!

 

We identified several aspects that would be nice to monitor in sonar (timemachine):

 

  • Profiling:
    • Memory
    • CPU
    • Runtime
  • Performance tests (stuff like JMeter):
    • Count clients per execution time
  • Etc ?? (Any other ideas?)

 

 

Is something planed in sonar?

Do you have experiences in tools that can be used to !!!automate!!! measure such information?

Any other ideas? J

 

Thanks in advance Oliver


Re: Plugin request (profiling and tracing in timemachine)

by Olivier Gaudin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Oliver,

Nothing planned as such in the core, but I think this is a great subject for a plugin !
Here is a pointer to a discussion that took place on the list two months ago on the subject

http://www.nabble.com/JMeter-Plugin-to24693484.html#a24693484

Olivier



On Fri, Oct 9, 2009 at 11:41 AM, Oliver Stauss <o.stauss@...> wrote:

Hallo,

we started an interesting discussion in our team.

To measure the quality using metrics, tests and coverage is a very good thing, but not everything.

In some Projects you have some requirements like:

-          The max memory (per client session) for the System is limited to XX MB.

-          The response of the System (Service, UI-Action) is limited to XX seconds.

-          The System should be able to handle XX requests in YY seconds.

-          Etc…

 

OK you are (often) able to create unit-tests to automate such use-cases,

some tools are also able to visualize the results.

 

But the most interesting thing is to put this information in a timemachine!!!

 

We identified several aspects that would be nice to monitor in sonar (timemachine):

 

  • Profiling:
    • Memory
    • CPU
    • Runtime
  • Performance tests (stuff like JMeter):
    • Count clients per execution time
  • Etc ?? (Any other ideas?)

 

 

Is something planed in sonar?

Do you have experiences in tools that can be used to !!!automate!!! measure such information?

Any other ideas? J

 

Thanks in advance Oliver



Re: Plugin request (profiling and tracing in timemachine)

by Oliver Stauss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Olivier,
just another "simple" idea.

A first "runtime" Information on projects JUnit test wold
be the memory consumption.
the jvm can log the garbage collector / memory consumption
(-Xloggc:<file>  -XX:+PrintGCDetails)!

                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-surefire-plugin</artifactId>
                                        <configuration>
                                                <forkMode>once</forkMode>
                                                <argLine>-Xloggc:target/GC-${project.artifactId}.log
-XX:+PrintGCDetails</argLine>
                                        </configuration>
                                </plugin>

Would be nice to visualize these information (maxmem) in
sonar!?
http://java.sun.com/performance/jvmstat/visualgc.html

Next should be something like
"-Dcom.sun.management.jmxremote.port=XXXX" or even better
-agentlib:file=java.hprof

regards Oliver

On Fri, 9 Oct 2009 13:36:25 +0200
  Olivier Gaudin <gaudol@...> wrote:

> Hello Oliver,
>
> Nothing planned as such in the core, but I think this is
>a great subject for
> a plugin !
> Here is a pointer to a discussion that took place on the
>list two months ago
> on the subject
>
> http://www.nabble.com/JMeter-Plugin-to24693484.html#a24693484
>
> Olivier
>
>
>
> On Fri, Oct 9, 2009 at 11:41 AM, Oliver Stauss
><o.stauss@...>wrote:
>
>>  Hallo,
>>
>> we started an interesting discussion in our team.
>>
>> To measure the quality using metrics, tests and coverage
>>is a very good
>> thing, but not everything.
>>
>> In some Projects you have some requirements like:
>>
>> -          The max memory (per client session) for the
>>System is limited
>> to XX MB.
>>
>> -          The response of the System (Service,
>>UI-Action) is limited to
>> XX seconds.
>>
>> -          The System should be able to handle XX
>>requests in YY seconds.
>>
>> -          Etc…
>>
>>
>>
>> OK you are (often) able to create unit-tests to automate
>>such use-cases,
>>
>> some tools are also able to visualize the results.
>>
>>
>>
>> But the most interesting thing is to put this
>>information in a
>> timemachine!!!
>>
>>
>>
>> We identified several aspects that would be nice to
>>monitor in sonar
>> (timemachine):
>>
>>
>>
>>    - Profiling:
>>       - Memory
>>       - CPU
>>       - Runtime
>>    - Performance tests (stuff like JMeter):
>>       - Count clients per execution time
>>    - Etc ?? (Any other ideas?)
>>
>>
>>
>>
>>
>> Is something planed in sonar?
>>
>> Do you have experiences in tools that can be used to
>>!!!automate!!! measure
>> such information?
>>
>> Any other ideas? J
>>
>>
>>
>> Thanks in advance Oliver
>>



___
|X__________________________________________________________
    X|

eXXcellent solutions gmbh
Beim Alten Fritz 2

D-89075 Ulm

e | o.stauss@...
t | +49 [0]731-55026 -0
f | +49 [0]731-55026 -99
i | http://www.exxcellent.de

________________________________________________________________

Geschäftsführer: Dr. Martina Maier, Wilhelm Zorn, Gerhard
Gruber
Sitz der Gesellschaft: Ulm, Registergericht: Ulm HRB 4309

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email