> it is compiled with VC++ 6, under Windows 2000. I use it as-is to parse
> a pretty big XML file (understand, 2MB file), which is on my hard drive.

> The fact is, when I run it on my dev PC, on which I have compiled it, it
> takes really long to run. It is a Pentium III 800, with 384MB of RAM
> (SDRAM). It takes about 30s to parse the file (the time needed to
> initialize the parser is neglectable, under 70ms). I tried to see if the
> hard drive had an influence, by placing the file on a distant server on
> the LAN, without any visible effect on the running time.

> I've tried the same executable file on another PC under Windows 2000
> also, which is a more recent Pentium IV at 2.5Ghz, with 1GB of DDR. It
> takes... 0.4s to parse the same file. Which is much more what I was
> expecting.

I am just guessing, but I'd rather think, that this speed increase has more
to do with available RAM-Size than it has to do with processor speed. This
sounds pretty interesting. Did you try to parse different sizes of
XML-documents, like doubling and halfing the size several times? (trying
with a 1MB-file on both PCs, a 500 KB, a 250KB and then 4 MB, 16MB, 32MB?)

Did you make sure this is no problem with the memory or the file cache? Just
ideas, I really don't know, what the influences are here, but I try to be
helpful...

I would be interested in your results,
best regards,
Denny


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to