Reply to php::xml_parse really really slow

Your name:

Reply:


Posted by CptDondo on 11/16/06 17:58

I have a website that is generated on the fly from XML templates. I've
been having some performance issues (pages taking 6 seconds or more to
be generated) and profiled the php code. (This is an embedded system
with a slow CPU.)

It turns out that php::xml_parse is very, very slow. My XML stuff isn't
that complex, but only 4 calls to xml_parse account for 1/2 of the time
it takes to generate the page.

Anyone know of a way to improve XML performance? I don't need ereg/preg
support, or anyting like that, but I have to get the xml_parser to run
faster....

Any suggestions? Any compile time options I can use to do some magic?

This is my configure script:

../configure \
--host=arm-linux \
--target=arm-linux \
--build=i686-pc-linux-gnu \
--with-zlib-dir=$ROOTDIR/$PLATFORM/lib \
--with-ming=$ROOTDIR/../src/ming-0.3.0 \
--disable-all \
--enable-session \
--enable-xml \
--enable-sockets \
--enable-fastcgi \
--enable-ming \
--enable-xdebug \
--enable-force-cgi-redirect \
--with-config-file-path=/etc \
--prefix=/ \
--exec-prefix=/bin \


--Yan

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация