#5972: Test Suite in 1.2 final uses much more memory than RC1
-----------------------------+----------------------------------------------
    Reporter:  maular        |         Owner:           
        Type:  Optimization  |        Status:  new      
    Priority:  Medium        |     Milestone:  1.2.x.x  
   Component:  Test Suite    |       Version:  1.2 Final
    Severity:  Major         |    Resolution:           
    Keywords:                |   Php_version:  PHP 5    
Cake_version:  7972          |  
-----------------------------+----------------------------------------------
Comment (by maular):

 This memory increase is due to the ob_start() additions in r7162.

 In our application tests (same as above) all asserts pass, so just this
 change:

 {{{
 Index: cake_reporter.php
 ===================================================================
 --- cake_reporter.php   (revision 7973)
 +++ cake_reporter.php   (working copy)
 @@ -123,7 +123,7 @@
   * @access public
   */
         function paintPass($message) {
 -               ob_start();
 +               //ob_start();
                 parent::paintPass($message);

                 if ($this->_show_passes) {

 }}}

 results in this memory usage:

 {{{
 memory_get_usage: 230922112
 memory_get_peak_usage: 230977872
 }}}

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5972#comment:1>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to