Mercurial > hgsubversion
view tools/verify-all-heads.sh @ 1470:b6e2bc962536
maps: increase sqlite cache size automatically
Sqlite cache size is 2MB by default. Increasing the cache size can speed up
migration. In a large repo with millions of revisions, changing the cache
size to a big enough value reduces at least 30% of the migration time.
Give the general trends that sacrifices space for speed, this patch auto
tunes the cache size to be big enough to hold the entire database.
author | Jun Wu <quark@fb.com> |
---|---|
date | Tue, 31 May 2016 15:44:11 +0100 |
parents | 11c4c7242a36 |
children |
line wrap: on
line source
#!/bin/sh . $(dirname $0)/common.sh for b in `hg branches -aq` ; do hg co $b || break echo verifying $b hg svn verify done