473,324 Members | 2,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

XML performance improvement

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

Jul 20 '05 #1
2 1412
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.
Jul 20 '05 #2

"sree" <re********@gmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro 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 =----
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Alex Vinokur | last post by:
Hi, vector<T> v (100); T *a = new T ; v.push_back(T()); Is it possible to add new T to array to get _contiguous_ storage area (for 101 element in an example above)? -- Alex Vinokur
6
by: teedilo | last post by:
We have an application with a SQL Server 2000 back end that is fairly database intensive -- lots of fairly frequent queries, inserts, updates -- the gamut. The application does not make use of...
7
by: qvx | last post by:
Hi all, I have a performance problem in my app. It is a poor man's version of OCR app. I started this app as a prototype before implementing it in C++. But now, after I have a working copy in...
4
by: Aaron | last post by:
In a test environment we have dropped over 100 RI restrictions which showed a huge instant performance gain where some jobs were running with 2 or 3 times the performance than previously. The...
15
by: MuZZy | last post by:
Hi, Consider this: ArrayList al = new ArrayList(); FillList(al); /// NOW TWO SCENARIOS: /// 1. for (int i = 0 ; i < al.Count ; i++)
22
by: roadrunner | last post by:
Hi, Our website has recently been experiencing some problems under load. We have pinpointed a particular function which slows dramatically when we have these problems. Normally it should execute...
12
by: Lloyd Dupont | last post by:
I have an application which use has a DLL with 100+ (auto-generated) Managed C++ wrapper around some native API. Compare to a purely version my application has some performance issue and I just...
10
by: colin | last post by:
Hi, I profile my code and find its spending a lot of time doing implicit conversions from similar structures. the conversions are mainly things like this class Point { implicit conversion...
2
by: Paul McGuire | last post by:
I just ran my pyparsing unit tests with the latest Python 2.6b1 (labeled internally as Python 2.6a3 - ???), and the current 1.5.0 version of pyparsing runs with no warnings or regressions. I was...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.