Skip to content

Instantly share code, notes, and snippets.

@manuelpichler
Created February 14, 2012 21:10
Show Gist options
  • Save manuelpichler/1830473 to your computer and use it in GitHub Desktop.
Save manuelpichler/1830473 to your computer and use it in GitHub Desktop.
PHP_Depend 1.0.1 vs 1.0.x
Just type:
~ $ pear upgrade pdepend/PHP_Depend-snapshot
to test the latest, memory&performance optimized version of PHP_Depend.
Symfony2 Standard (All vendor code) - NCLOC(286749)
===================================================
PHP 5.3.10
----------
Time: 52:56; Memory: 2062.75Mb (1.0.1 - uncached)
Time: 36:37; Memory: 2165.00Mb (1.0.1 - cached)
Time: 32:05; Memory: 269.00Mb (1.0.x - uncached)
Time: 16:43; Memory: 267.75Mb (1.0.x - cached)
PHP 5.4dev
----------
Time: 44:43; Memory: 1502.75Mb (1.0.1 - uncached)
Time: 29:27; Memory: 1490.00Mb (1.0.1 - cached)
Time: 29:12; Memory: 192.00Mb (1.0.x - uncached)
Time: 14:30; Memory: 186.75Mb (1.0.x - cached)
Command line:
-------------
~ $ pdepend --summary-xml=summary.xml --jdepend-xml=jdepend.xml <symfony-standard>/vendor
Symfony2 Standard (Vendor symfony only) - NCLOC(72256)
======================================================
PHP 5.3.10
----------
Time: 04:35; Memory: 455.00Mb (1.0.1 - uncached)
Time: 02:00; Memory: 476.75Mb (1.0.1 - cached)
Time: 04:42; Memory: 86.25Mb (1.0.x - uncached)
Time: 01:58; Memory: 86.00Mb (1.0.x - cached)
PHP 5.4dev
----------
Time: 03:37; Memory: 324.25Mb (1.0.1 - uncached)
Time: 01:29; Memory: 322.00Mb (1.0.1 - cached)
Time: 03:38; Memory: 59.50Mb (1.0.x - uncached)
Time: 01:27; Memory: 57.50Mb (1.0.x - cached)
Command line:
-------------
~ $ pdepend --summary-xml=summary.xml --jdepend-xml=jdepend.xml <symfony-standard>/vendor/symfony/src
FLOW 3 (FLOW3 package only) - NCLOC(64115)
==========================================
PHP 5.3.10
----------
Time: 06:15; Memory: 593.50Mb (1.0.1 - uncached)
Time: 02:41; Memory: 611.50Mb (1.0.1 - cached)
Time: 05:31; Memory: 105.75Mb (1.0.x - uncached)
Time: 02:12; Memory: 89.75Mb (1.0.x - cached)
PHP 5.4dev
----------
Time: 05:08; Memory: 431.00Mb (1.0.1 - uncached)
Time: 02:03; Memory: 419.50Mb (1.0.1 - cached)
Time: 04:16; Memory: 73.50Mb (1.0.x - uncached)
Time: 01:43; Memory: 60.25Mb (1.0.x - cached)
Command line:
-------------
~ $ pdepend --summary-xml=summary.xml --jdepend-xml=jdepend.xml <flow3>/Packages/Framework/TYPO3.FLOW3/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment