Lars Strojny wrote: > Hi Matthew, > > Am Samstag, den 12.07.2008, 19:11 -0400 schrieb Matthew Weier O'Phinney: > [...] >> Lars -- can you provide some benchmarks that show the memory differences >> between Zend_Date and DateTime? I'm curious to see if we might be able >> to isolate the performance issues, if any, and improve the situation. > > You can find the results attached. The benchmark suite can be found at > http://lars.schokokeks.org/php/time-bench.phps > > cu, Lars > Here You will find some tests made with the Lars benchmark code.
I join also my phpinfo as I 've a quiet big number of large module
(clamav,mapserver/phpmapscrip/pdflib)
Computer is a Dell Precision M4300 with the cpu running at 2.4Ghz (Core2Duo
centrino) with 4GB ram and a 7200 rpms hdd.
Hope this help you to find some numbers.
--
Bruno Friedmann
Ioda-Net Sàrl - www.ioda-net.ch
2830 Vellerat - Switzerland
Tél : ++41 32 435 7171
Fax : ++41 32 435 7172
gsm : ++41 78 802 6760
C'est Facile et Cool d'Évoluer en ligne : www.cfcel.com
phpinfo.txt.bz2
Description: application/bzip
Instanciating Zend_Date - Average memory usage: 38.976000 - Overall memory usage: 38976.000000 - Average time consumed (mS): 0.000665 - Overall time consumed: (mS): 0.664856 Instanciating DateTime - Average memory usage: 0.080000 - Overall memory usage: 80.000000 - Average time consumed (mS): 0.000005 - Overall time consumed: (mS): 0.005224 Returning a formatted date with DateTime - Average memory usage: 0.000000 - Overall memory usage: 0.000000 - Average time consumed (mS): 0.000002 - Overall time consumed: (mS): 0.001551 Returning a formatting date with with Zend_Date - Average memory usage: 6.704000 - Overall memory usage: 6704.000000 - Average time consumed (mS): 0.000314 - Overall time consumed: (mS): 0.313712
