Ticket #3627 (assigned New Feature)

Opened 6 years ago

Last modified 5 years ago

Performance testing

Reported by: alfonsoml Owned by: garry.yao
Priority: Normal Milestone:
Component: QA Version: 3.0
Keywords: Confirmed HasPatch Cc:


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.


3627.patch (14.2 KB) - added by garry.yao 6 years ago.
test-runner.png (63.0 KB) - added by garry.yao 6 years ago.
Single Test Case Runner Snapshot

Change History

comment:1 Changed 6 years ago by arczi

  • Keywords Confirmed added

Changed 6 years ago by garry.yao

comment:2 Changed 6 years ago by garry.yao

  • Owner set to garry.yao
  • Status changed from new to assigned
  • Keywords Review? added

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 6 years ago by garry.yao

Single Test Case Runner Snapshot

comment:3 Changed 6 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 6 years ago by garry.yao

  • Keywords HasPatch added; Review? removed

comment:5 Changed 5 years ago by wwalc

  • Version set to 3.0
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy