Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > XML performance improvement

Reply
Thread Tools

XML performance improvement

 
 
sree
Guest
Posts: n/a
 
      04-16-2005
hello,

I am working on a project that requires improving the performance of
xml to reduce the access time . I use xml to take the values from a
database located in US and store the values and use them in my
programs. The program is currently taking 15 sec while I want a speed
of 8 seconds.Please suggest some improvement techniques

sree

 
Reply With Quote
 
 
 
 
=?ISO-8859-1?Q?J=FCrgen_Kahrs?=
Guest
Posts: n/a
 
      04-16-2005
sree wrote:

> I am working on a project that requires improving the performance of
> xml to reduce the access time . I use xml to take the values from a


XML is a data format. A data formance doesn't have
a measurable "performance". You probably mean the
time needed by your XML parser.

> database located in US and store the values and use them in my
> programs. The program is currently taking 15 sec while I want a speed
> of 8 seconds.Please suggest some improvement techniques


I guess you use an XML parser which reads the complete
file into memory before your program can start working
with the data. This approach is usually called the
DOM approach. The DOM approach is inappropriate if you
need to process XML data fast and also if you need to
process large files.

You should use a parser that employs the SAX approach.
I recommend Expat.
 
Reply With Quote
 
 
 
 
Edward A. Feustel
Guest
Posts: n/a
 
      04-17-2005

"sree" <> wrote in message
news: ups.com...
> hello,
>
> I am working on a project that requires improving the performance of
> xml to reduce the access time . I use xml to take the values from a
> database located in US and store the values and use them in my
> programs. The program is currently taking 15 sec while I want a speed
> of 8 seconds.Please suggest some improvement techniques
>
> sree
>
>

You might look at the new standard for Binary XML. It ought to decrease your
processing
time substantially, both in I/O and in parsing.
Ed



----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Performance improvement possible? Philip Rhoades Ruby 33 06-28-2008 11:16 AM
Performance improvement in the 2.0 framework =?Utf-8?B?TWFyYyBIb2Vpam1hbnM=?= ASP .Net 6 03-22-2006 07:48 PM
Would I see a performance improvement with this upgrade? vbMark Computer Support 2 11-04-2005 02:17 PM
Poor man's OCR: need performance improvement tips qvx Python 7 09-25-2005 08:10 AM
Performance Improvement of complex data structure (hash of hashes of hashes) Scott Gilpin Perl Misc 2 08-26-2004 01:02 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57