Opened 15 years ago

Last modified 13 years ago

#3627 assigned New Feature

Performance testing

Reported by: Alfonso Martínez de Lizarrondo Owned by: Garry Yao
Priority: Normal Milestone:
Component: QA Version: 3.0
Keywords: Confirmed HasPatch Cc:

Description

I guess that everybody has this in mind, but no one has written it so far.

In the future it would be very nice to have an automated performance testing system, so that we can keep track of any unexpected degradation of the performance. And also to avoid that little + little + little changed do end up summing a serious problem.

For a reference, this post about Chrome explains the same basic idea: http://blog.chromium.org/2008/11/putting-it-to-test.html and points that some of the tools are based on HTML and JS, so maybe we can reuse something from there.

Attachments (2)

3627.patch (14.2 KB) - added by Garry Yao 15 years ago.
test-runner.png (63.0 KB) - added by Garry Yao 15 years ago.
Single Test Case Runner Snapshot

Download all attachments as: .zip

Change History (7)

comment:1 Changed 15 years ago by Artur Formella

Keywords: Confirmed added

Changed 15 years ago by Garry Yao

Attachment: 3627.patch added

comment:2 Changed 15 years ago by Garry Yao

Keywords: Review? added
Owner: set to Garry Yao
Status: newassigned

The patch is proposing of using JSLitmus as the benchmarking framework, the core idea is allow easy integration between existing YUI unit test case and performance test case by the following way:

  1. Any self hosting test(those doesn't require a 'setup' and have same result regard multiple times of running) could be used as performance test case without extra effort;
  2. The performance tests could be optionally chosen to run together with the unit test or run separately later.

Changed 15 years ago by Garry Yao

Attachment: test-runner.png added

Single Test Case Runner Snapshot

comment:3 Changed 15 years ago by Garry Yao

The all-in-one test runner is not functional yet, so running test-all.html will result in unexpected result.

comment:4 Changed 15 years ago by Garry Yao

Keywords: HasPatch added; Review? removed

comment:5 Changed 13 years ago by Wiktor Walc

Version: 3.0
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy