| Summary: | [releng] Add performance tests to the build | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Felipe Heidrich <eclipse.felipe> | ||||||||
| Component: | Releng | Assignee: | Project Inbox <orion.releng-inbox> | ||||||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | aniefer, mamacdon | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Felipe Heidrich
Created attachment 193287 [details]
my ant script to run the tests
note this script runs the tests each browser at the time (instead of all browsers testing at the same time).
Created attachment 193288 [details]
the XSL transform
Created attachment 193289 [details]
result example
That is the output I get on my machine.
These tests have been automatically picked up by the existing js test framework. See them for example at the bottom of http://download.eclipse.org/e4/orion/drops/N201104142000/Chrome-11.0-testResults.html Browsers are currently run sequentially one after the other, we currently aren't able to say anything about what else is running at the same time as the build machine is shared with other projects. We need to 1) figure out how to save and track the times 2) Investigate isolating the tests more, perhaps by running them in hudson Note that I can change my code to conform with any design you come up with.
The only difference now between the the performance tests and regular tests are the file name (which has -performance.js in it) and the name of the test suite ("Performance").
As for the UI (that can be changed by the XSL transformation), it would be cool if we could have all browser on the same page to make it easier to compare the result between two browser. It looks like perhaps the best way to do this is to write a java performance test. (http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.test.performance/doc/Performance%20Tests%20HowTo.html?view=co) Instead of being a "real" performance test, this would just read the TEST-*.Performance.xml results of the javascript tests and then log the data as if those were normal java performance tests. This allows us to reuse the existing performance framework used by the SDK. Sounds good to me. Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html |