Re: gconf backend



On Sat, 2003-09-27 at 06:44, Daniel Veillard wrote:
> On Sat, Sep 27, 2003 at 01:51:09AM -0400, Havoc Pennington wrote:
> > On Sat, 2003-09-27 at 00:49, Havoc Pennington wrote:
> > > 
> > > The new gconf backend I wrote a year ago seems to use about 50% of the
> > > memory of the current one
> > 
> > Or better, "gconftool-2 -R /" on my system (my .gconf has years worth of
> > cruft in it) uses 53M with the old backend and 10.5M with the new. (the
> > -R / means the whole gconf tree is cached in the daemon for a few
> > minutes, so is the maximum possible mem usage)
> 
>   What is the difference technically speaking  ?
> 

The main performance issue with the old backend is building DOM trees.
The new backend uses gmarkup but I don't think libxml vs. gmarkup is the
speedup, the speedup is DOM vs. SAX-style. So you could move the new
backend to libxml SAX-style API and still have the same advantage.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]