tyrael                                   Tue, 01 Nov 2011 21:27:57 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=318656

Log:
allocating more than 2GB memory is slow.

Changed paths:
    U   php/php-src/branches/PHP_5_3/Zend/tests/bug55509.phpt
    U   php/php-src/branches/PHP_5_4/Zend/tests/bug55509.phpt
    U   php/php-src/trunk/Zend/tests/bug55509.phpt

Modified: php/php-src/branches/PHP_5_3/Zend/tests/bug55509.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/Zend/tests/bug55509.phpt       2011-11-01 
20:24:19 UTC (rev 318655)
+++ php/php-src/branches/PHP_5_3/Zend/tests/bug55509.phpt       2011-11-01 
21:27:57 UTC (rev 318656)
@@ -5,6 +5,7 @@
 if (PHP_INT_SIZE == 4) {
   die('skip Not for 32-bits OS');
 }
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
 // check the available memory
 if (PHP_OS == 'Linux') {
   $lines = file('/proc/meminfo');

Modified: php/php-src/branches/PHP_5_4/Zend/tests/bug55509.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/tests/bug55509.phpt       2011-11-01 
20:24:19 UTC (rev 318655)
+++ php/php-src/branches/PHP_5_4/Zend/tests/bug55509.phpt       2011-11-01 
21:27:57 UTC (rev 318656)
@@ -5,6 +5,7 @@
 if (PHP_INT_SIZE == 4) {
   die('skip Not for 32-bits OS');
 }
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
 // check the available memory
 if (PHP_OS == 'Linux') {
   $lines = file('/proc/meminfo');

Modified: php/php-src/trunk/Zend/tests/bug55509.phpt
===================================================================
--- php/php-src/trunk/Zend/tests/bug55509.phpt  2011-11-01 20:24:19 UTC (rev 
318655)
+++ php/php-src/trunk/Zend/tests/bug55509.phpt  2011-11-01 21:27:57 UTC (rev 
318656)
@@ -5,6 +5,7 @@
 if (PHP_INT_SIZE == 4) {
   die('skip Not for 32-bits OS');
 }
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
 // check the available memory
 if (PHP_OS == 'Linux') {
   $lines = file('/proc/meminfo');

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to