Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-releng-dev] eclipse performance framework

Hi Tobias,

The Trace Compass project makes use of the performance framework to collect the performance measurements and save it to a Derby DB. We use a JUnit test suite to execute the scenarios:
http://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/tree/releng/org.eclipse.tracecompass.alltests/src/org/eclipse/tracecompass/alltests/perf/RunAllPerfTests.java
One example of a "test" is
http://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/tree/ctf/org.eclipse.tracecompass.ctf.core.tests/perf/org/eclipse/tracecompass/ctf/core/tests/perf/trace/TraceReadBenchmark.java
We have a little guide here on how to write those:
http://help.eclipse.org/mars/topic/org.eclipse.tracecompass.doc.dev/doc/Performance-Tests.html

We run the test suite once a day on Jenkins.
We do not use the viewing part of the performance framework though. Instead, in the same Jenkins job, we convert the database to a simple JSON file that can be easily parsed by a web page. This code is here:
http://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/tree/releng/org.eclipse.tracecompass.alltests/src/org/eclipse/tracecompass/alltests/perf/PerfResultsToJSon.java
The web page displaying the results is available here: http://istmffastyet.dorsal.polymtl.ca/  (note that you can click on individual components on the left side).
The code for the web page is here: https://github.com/PSRCode/ITCFYWebsite

I should mention that the PerfResultsToJSon and ITCFYWebsite are not exactly the greatest examples of programming but at least they are examples of how to get things going.

Hope this helps a bit,
Marc-Andre


From: platform-releng-dev-bounces@xxxxxxxxxxx [platform-releng-dev-bounces@xxxxxxxxxxx] on behalf of Tobias Hupel [Tobias.Hupel@xxxxxx]
Sent: Tuesday, 18 August 2015 2:47 AM
To: platform-releng-dev@xxxxxxxxxxx
Subject: [platform-releng-dev] eclipse performance framework

Dear Subscribers,

 

my name is Tobias and I’m trying to get familiar with the org.eclipse.test.performance framework of eclipse. I’m really frustrated about my progress but it is hard to get some useful help or tutorials.

 

I have only found deprecated articles and all my help requests on “stackoverflow” or on the IRC of eclipse have not succeeded. I think this is a quite uncommon topic, or already a deprecated framework?

But apparently the eclipse team use it for their purposes:

http://download.eclipse.org/eclipse/downloads/drops4/R-4.5-201506032000/performance/performance.php

 

I have heard that David Williams is responsible for such tests, perhaps you could help me?

 

Stackoverflow question (including source code and stacktrace):

http://stackoverflow.com/questions/31871354/eclipse-peformance-measurement-framework-derby-database-doesnt-work

 

The most “useful” article but still as old as I said: https://wiki.eclipse.org/Performance/Automated_Tests

But the most things doesn't work and my adjustments haven't changed a lot.

 

Therefore I’m asking you professional eclipse guys for some help. Perhaps, you could update this short eclipse wiki article, whatever, just a short cookbook or something, please. I really want and need to get used to this.

 

 

Best regards

Tobias

 

PS:

I’m working with eclipse mars and the newest tools on:

http://download.eclipse.org/eclipse/updates/4.5/

 


Back to the top