Hi, On 7/12/06, Noble, Robert <[EMAIL PROTECTED]> wrote: > We need to increase performance of our XML data generating application. Our > app receives (during peak periods) as many as 5,000 binary messages per > second and converts them to XML using libxml2 and writes them to a file in > real time. Our environment is Sun Solaris 10. > > Profiling shows almost all the time is spent inside libxml2. > > For each message we receive, our code looks something like this: > > Receive binary msg > xmlBufferCreate() > xmlNewTextWriterMemory()
why not using xmlNewTextWriterFilename if you write the buffer to a file anyway? It should also use less memory or a more constant amount of memory. --Pierre _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
