Mercurial > hg
view tests/test-mq-qrefresh-replace-log-message.out @ 3157:4fe41a9e4591
optimize revlog.lookup when passed hex(node)[:...]
Instead of converting each node from the filenode to a hex form,
convert the arg to a bin form.
For a revlog with 26711 entries, doing 100 lookup:
before: ~18s
after : ~13s
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sun, 24 Sep 2006 13:52:27 +0200 |
parents | 0fb28dbf0dc7 |
children | 448eb46d4d84 |
line wrap: on
line source
======================= Should display 'First commit message' description: First commit message ======================= Should display 'Second commit message' description: Second commit message ======================= Should display 'Third commit message\n This is the 3rd log message' description: Third commit message This is the 3rd log message ======================= Should display 'Fifth commit message\n This is the 5th log message' description: Fifth commit message