Mercurial > hgsubversion
comparison tests/test_util.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 | 1a4d0f1563d0 |
children | 0991df151799 |
comparison
equal
deleted
inserted
replaced
1469:7bb2c6ca4d24 | 1470:b6e2bc962536 |
---|