> To open the repository to a new checkout it took Fossil about 26
> minutes. Roughly 13 minutes extracting the files into the directory, and
> then 13 minutes of ... doing something, before it came back.
> The equivalent command in Mercurial ("hg update null" to reset the
> checkout then the timed "hg update") took 19.5 minutes


No low-hanging fruits here. After profiling "fossil open", I noticed nothing 
extraordinary -- most time is spent in compression, decompression, and 
calculating checksums.

http://i.imgur.com/1odR8.png

After checkout ("13 minutes of ... doing something, before it came back"), 
Fossil goes through all the extracted files, computes MD5 checksum and verifies 
that it matches the one in the manifest. As Stephan pointed out, you can 
disable this by turning off "repo-cksum" setting.

Same thing with committing: Fossil checks that content is repo is correct,  see
http://www.fossil-scm.org/index.html/doc/trunk/www/selfcheck.wiki :

"Then just before transaction commit, fossil re-extracts the original content 
of all files that were written, computes the SHA1 checksum again, and verifies 
that the checksums match. If anything does not match up, an error message is 
printed and the transaction rolls back."

--
Dmitry Chestnykh

_______________________________________________
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