Mercurial > hgsubversion
comparison tests/test_fetch_command.py @ 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 | 86ae03f889a4 |
children | d55c9d0ba350 |
comparison
equal
deleted
inserted
replaced
1469:7bb2c6ca4d24 | 1470:b6e2bc962536 |
---|