TYPO3 Flow Base DistributionPackagesApplications

Feature #371

Improve speed and memory usage of unit test

Added by Robert Lemke over 7 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2008-02-27
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:-
Target version:- Estimated time:0.00 hour

Description

Currently I need way more than 300 MB of memory for PHP in order to run all unit tests - and it could be faster.

Associated revisions

Revision 29ef6e73
Added by Karsten Dambekalns about 7 years ago

Testing:
  • Switched off $GLOBALS backup, this fixes crashes on Windows and makes the tests run twice as fast, refs #371, fixes #471

History

#1 Updated by Karsten Dambekalns about 7 years ago

  • Status changed from New to Resolved
  • Assigned To set to Karsten Dambekalns
  • % Done changed from 0 to 100
  • Estimated time set to 0.00

It is possible to run all tests with both the web and the CLI runner using a memory_limit of 128M - and the CLI runner needs a little less than 12 seconds for all ~640 tests currently.

Also available in: Atom PDF