This is an archive of the discontinued Mercurial Phabricator instance.

phases: improve performance of _retractboundary
ClosedPublic

Authored by joerg.sonnenberger on Jun 18 2020, 4:23 PM.

Details

Summary

The old version repeatedly converts nodes to revisions, which is a
moderately expensive operation. Mapping all new changes once to
revisions and back at the end reduces the time spend in _retractboundary
during the unbundling of NetBSD's src from 67s to 17s.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.