This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > March 2004 > Slow XML reading





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Slow XML reading
JB

2004-03-19, 6:29 am

Hello,
I have 1Kb XML file. When I try to load this file with use XMLDOM4.0
interface, it works about 200 ms.
When I try to load this XML file in C# with XMLDocument class usage, it
works about 200 ms too.
And if I try it in C++.Net, it works 2 s.
For speed test, i used identical computer with w2k.
Why usege XML class in VC++.NET is slowly then C# ?

Thanks.
Jirka


Oleg Tkachenko [MVP]

2004-03-21, 5:28 am

JB wrote:

> I have 1Kb XML file. When I try to load this file with use XMLDOM4.0
> interface, it works about 200 ms.
> When I try to load this XML file in C# with XMLDocument class usage, it
> works about 200 ms too.
> And if I try it in C++.Net, it works 2 s.
> For speed test, i used identical computer with w2k.
> Why usege XML class in VC++.NET is slowly then C# ?


Are you sure you are using equivalent code?

--
Oleg Tkachenko [XML MVP, XmlInsider]
http://blog.tkachenko.com
JB

2004-03-22, 2:28 am

Yes, I am.

"Oleg Tkachenko [MVP]" <oleg@NO!SPAM!PLEASEtkachenko.com> wrote in message
news:OOjk$9xDEHA.3804@TK2MSFTNGP09.phx.gbl...
> JB wrote:
>
>
> Are you sure you are using equivalent code?
>
> --
> Oleg Tkachenko [XML MVP, XmlInsider]
> http://blog.tkachenko.com



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews