On Tue, Jun 24, 2014 at 4:33 PM, Andy Goth <andrew.m.g...@gmail.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 6/24/2014 3:27 PM, Richard Hipp wrote:
> > On Tue, Jun 24, 2014 at 4:12 PM, Andy Goth
> > <andrew.m.g...@gmail.com> wrote: Fossil computes an MD5 hash over
> > all files in the repository as one of the verification steps prior
> > to commit.  See
> > http://fossil-scm.org/index.html/doc/tip/www/selfcheck.wiki for
> > additional information.  Computing the MD5 sum over 425 megabytes
> > is problem what is taking so long.
> >
> > It might be possible to provide an option to disable this checksum
> > step for large repos.
>
> This command, run at the top level of the source tree:
>
> find -type f | xargs cat | md5sum
>
> completes in 3.62 seconds.
>

Can you compile fossil with -pg, run a commit, and then consult gprof to
see where it is spending all its time?


-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to