On Thu, May 16, 2013 at 12:22 PM, Bert Huijben <b...@qqmail.nl> wrote:
> > > > -----Original Message----- > > From: stef...@apache.org [mailto:stef...@apache.org] > > Sent: donderdag 16 mei 2013 12:19 > > To: comm...@subversion.apache.org > > Subject: svn commit: r1483292 - in /subversion/trunk/subversion: > > include/private/svn_string_private.h libsvn_subr/string.c > > libsvn_subr/types.c > > > > Author: stefan2 > > Date: Thu May 16 10:19:18 2013 > > New Revision: 1483292 > > > > URL: http://svn.apache.org/r1483292 > > Log: > > Daring another no-no: provide our own, optimized implementation > > of a string to unsigned int conversion. Use it to simplify & speed up > > svn_revnum_parse. > > > > Background: In my 'svn log -g' tests, I found that >50% of the runtime > > is spent parsing mergeinfo and ~20% in strtol alone. > > It would be nice if you can provide a bit more details about your tests > for this. > > Is this for ra_local, ra_svn, ra_serf? > > Which platform? > X64 Ubuntu 12.04, optimized build of the fsfs-format7 branch. svn log -v -g svn://server1/freebsd-base-f7/ Measurement was done on the server side (network and client are not a bottleneck for log -g, yet). The server has to parse through appox. 2GB of svn:mergeinfo. Locales are luckily not an issue here. -- Stefan^2. BTW: An ordinary 'svn log -v' is now network limited ever 1Gb Ethernet. -- *Join one of our free daily demo sessions on* *Scaling Subversion for the Enterprise <http://www.wandisco.com/training/webinars>* * *