PageLines DMS CPU Profiling Results

So what with DMS 1.1 due to ship anytime soon, its time to use xprof to profile PHP again.

Hardware for testing is my trusty MBP running MAMP with PHP 5.4.4 with 16G of RAM. Each page is refreshed a couple of times before clicking the profile link.

So lets get right to it!! (scroll down to see the results!)

Heres the raw data:

DMS 1.0.4 Editor off
Total Incl. PeakMemUse (bytes): 14,508,200 bytes
Number of Function Calls: 129,559

DMS 1.1 EDITOR off
Total Incl. PeakMemUse (bytes): 12,793,896 bytes
Number of Function Calls: 125,884

DMS 1.0.4 editor On
Total Incl. PeakMemUse (bytes): 18,929,368 bytes
Number of Function Calls: 291,036

DMS 1.1 editor on
Total Incl. PeakMemUse (bytes): 17,046,664 bytes
Number of Function Calls: 283,168

DMS 1.0.4 wp-admin ‘PageLines Dashboard’
Total Incl. Wall Time (microsec): 2,260,325 microsecs
Total Incl. PeakMemUse (bytes): 22,441,112 bytes
Number of Function Calls: 122,711

DMS 1.1 wp-admin ‘PageLines Dashboard’
Total Incl. Wall Time (microsec): 774,034 microsecs
Total Incl. PeakMemUse (bytes): 13,488,360 bytes
Number of Function Calls: 81,187

DMS 1.0.4 Frontend, logged out.
Total Incl. Wall Time (microsec): 1,075,430 microsecs
Total Incl. PeakMemUse (bytes): 13,273,488 bytes
Number of Function Calls: 119,238

DMS 1.1 Frontend, logged out.
Total Incl. Wall Time (microsec): 994,623 microsecs
Total Incl. PeakMemUse (bytes): 11,411,712 bytes
Number of Function Calls: 114,013

The Results

Editor Off
11.8% less RAM
2.8% less functions called

Editor On
9.9% less RAM
2.7% less functions called

wp-admin
65.7% less loadtime
39.8% less RAM
33% less functions called

Logged out
7.5% less loadtime
14% less RAM
4.3% less functions called

Clearly DMS 1.1 is already way ahead of the 1.0 branch and were not stopping yet!!!