Page 1 of 1

DOM XML Speed Issue

Posted: Mon Jun 09, 2003 10:28 am
by HansiGlaser
Hi!

Today I wrote my first DOM XML application in PHP 4.2.3 (most recent Debian/unstable package). I read in a GnuCash file (which had to be modifed to have correnct namespace announcments, but I managed this)

When I read in the 1.5MB file with domxml_open_file() 0.2-0.3 seconds are used.

When I read the file into a string and then domxml_open_mem() this, it uses nearly 30 seconds!!!

I'm using mod_php within Apache 1.3.27.

Do you have any idea why there is such a tremendous speed difference?

Bye
Hansi