Joomla!
http://forum.joomla.org/

Profiling J1.5
http://forum.joomla.org/viewtopic.php?f=199&t=255152
Page 1 of 1

Author:  dkarlovi [ Sun Jan 20, 2008 7:30 pm ]
Post subject:  Profiling J1.5

I've installed Xdebug just to see how it works: I've turned off caching (BTW, my "patch" for eaccelerator hasn't been merged, I thought it was  :( ), it seems there are some of these:

Code:
if (count($foo))
do_something();
else
do_something_else(count($foo));


Here's a patch for couple of those. Also, with my setup JRegistryFormatINI->_stringToObject() calls substr() 726 times which (if I'm reading it right) accounts for 99% of exec time.  ;)

Author:  infograf768 [ Mon Jan 21, 2008 9:10 am ]
Post subject:  Re: Profiling J1.5

Can you create a tracker item?

Author:  dkarlovi [ Mon Jan 21, 2008 9:45 am ]
Post subject:  Re: Profiling J1.5

infograf768 wrote:
Can you create a tracker item?


I did on a previously found bug, I've even included a patch and it didn't get picked up which is strange because the bug is not minor and the patch is trivial (three lines of code). ???

Anyway, yes, I'll open a tracker issue.

Author:  infograf768 [ Mon Jan 21, 2008 9:58 am ]
Post subject:  Re: Profiling J1.5

The former bug has been considered as not urgent for 1.5.
It is to be taken into account for 1.5.1 as quite a few others.
Thanks.  :)

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/