(以内容“List of problems in pkgdb, which makes it slow: * In auto mode, the fix_cycles() still checks for cycles. However, it only outputs the results and does not fix them. S...”创建新页面) |
|||
(未显示同一用户的2个中间版本) | |||
第1行: | 第1行: | ||
− | List of problems in pkgdb, which | + | List of problems in pkgdb, which make it slow: |
* In auto mode, the fix_cycles() still checks for cycles. However, it only outputs the results and does not fix them. Since the auto mode is usually called by portupgrade, this wastes time. | * In auto mode, the fix_cycles() still checks for cycles. However, it only outputs the results and does not fix them. Since the auto mode is usually called by portupgrade, this wastes time. | ||
Solution: skip this stage in auto mode. | Solution: skip this stage in auto mode. | ||
+ | Effect: reduced time from 1:44 to 0:30 | ||
+ | |||
+ | * Even there is no changes, we still regenerate +REQUIRED_BY | ||
+ | Solution: if not changed, do not regenerate | ||
+ | Effect: reduced time from 0:30 to 0:23 |
2011年9月14日 (三) 05:01的最新版本
List of problems in pkgdb, which make it slow:
- In auto mode, the fix_cycles() still checks for cycles. However, it only outputs the results and does not fix them. Since the auto mode is usually called by portupgrade, this wastes time.
Solution: skip this stage in auto mode. Effect: reduced time from 1:44 to 0:30
- Even there is no changes, we still regenerate +REQUIRED_BY
Solution: if not changed, do not regenerate Effect: reduced time from 0:30 to 0:23