[Interest] Faster QXmlStreamWriter?

alexander golks alex at golks.de
Tue Apr 24 08:10:15 CEST 2018


Am Tue, 24 Apr 2018 05:02:20 +0000
schrieb Vadim Peretokin <vperetokin at gmail.com>:

> On Mon, Apr 23, 2018 at 8:32 AM Thiago Macieira <thiago.macieira at intel.com>
> wrote:
> 
> > On Sunday, 22 April 2018 22:15:48 PDT Vadim Peretokin wrote:  
> > > Thanks! That helped remove the resize operation from the profiling data,
> > > but QBuffer::writeData is still there, and the overall time didn't change
> > > much.
> > >
> > > Is there anything else I can look at, or is this a dead end then -  
> > requires  
> > > a different serialization solution altogether (a lot of work)?  
> >
> > Correct, QBuffer is not optimised for speed. I ran into that while
> > developing
> > QCborStreamWriter. The solution was to bypass it for speed.
> >
> >  
> OK, that's a pity. I'll look into using pugixml instead, and if anyone else
> knows a faster XML serializer, I'd he happy to hear about it.

we had good experiences in using tinyxml2 as replacement for qxml. don't know if this works for you for serializing, too.
we had to extend a bit to beeing able to clone and deep compare XMLNodes, but it works great.

alex

-- 
/*
 *  printk ("scsi%d : Oh no Mr. Bill!\n", host->host_no);
 *          linux-2.6.6/drivers/scsi/53c7xx.c
 */



More information about the Interest mailing list