[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: XML and libsvn_wc performance

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-11-12 05:03:48 CET

"Max Bowsher" <maxb@ukf.net> writes:

> Branko Čibej wrote:
> > Jason Voegele wrote:
> >
> >> I've been browsing through the issues list looking for things I
> >> might be able to lend a hand toward, and performance of checkouts
> >> has piqued my interest.
> >>
> >> Issues #1429 and #1490 indicate that XML parsing in libsvn_wc has a
> >> fairly significant impact on performance. What seems to me an
> >> obvious (partial) solution has not yet been mentioned, perhaps
> >> because I am not seeing the whole picture, or the solution I'm
> >> proposing is too radical a change for this stage of Subversion
> >> development. What I'm getting at is why use XML for
> >> the .svn/entries files at all? Why not replace it with a simpler
> >> file format and a lex/yacc based parser?
> >>
> >>
> > Ouch. Let's stay away from lex or yacc, we have enough dependencies as
> > it is.
>
> Um... svn *already* uses bison or yacc. libsvn_subr/getdate.y

If we're searching for alternative parsers, I'd suggest seeing just
how badly our own config-file parser is, performance-wise. I can
imagine an entries file like:

   [DEFAULT] # this dir
   rev = 0
   url = http://...

   [somefile]
   kind = file
   ...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 12 05:05:01 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.