##// END OF EJS Templates
remotephase: fast path newheads computation in simple case (issue5964)...
remotephase: fast path newheads computation in simple case (issue5964) Changeset 88efb7d6bcb6 fixed the logic of `phases.newheads` but greatly regressed its performance (up to many order of magnitude). The first step to fix the regression is to exit early when there is no work to do. If there are no heads to filter or not roots to filter them, we don't have to do any work. This fixes the regression when talking to an all public changeset. The performance is even better than before. pypy, compared to an all public repo ------------------------------------ 8eeed92475d5: 0.005758 seconds 88efb7d6bcb6: 0.602517 seconds (x104) this code: 0.001508 seconds (-74% from base) mercurial compared to an all public repo ---------------------------------------- 8eeed92475d5: 0.000577 seconds 88efb7d6bcb6: 0.185316 seconds (x321) this code: 0.000150 seconds (-74% from base) The performance of newheads, when actual computations are required, is fixed in the next changeset.

File last commit:

r38019:5fa4e29b default
r39181:c89e2fb2 stable
Show More
help.wxs
59 lines | 2.2 KiB | text/plain | TextLexer
Adrian Buehlmann
wix: refactor and new guids.wxi
r10828 <?xml version="1.0" encoding="utf-8"?>
Adrian Buehlmann
contrib/wix: switch *.wxs files to LF eol
r10513 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
Adrian Buehlmann
wix: refactor and new guids.wxi
r10828
<?include guids.wxi ?>
Steve Borho
wix: add support for x64 native MSI packages
r13042 <?include defines.wxi ?>
Adrian Buehlmann
wix: refactor and new guids.wxi
r10828
<Fragment>
Matt Harbison
wix: add help for current internal topics...
r27684 <ComponentGroup Id='helpFolder'>
<ComponentRef Id='help.root' />
<ComponentRef Id='help.internals' />
</ComponentGroup>
</Fragment>
<Fragment>
Adrian Buehlmann
wix: refactor and new guids.wxi
r10828 <DirectoryRef Id="INSTALLDIR">
<Directory Id="helpdir" Name="help" FileSource="$(var.SourceDir)">
Matt Harbison
wix: add help for current internal topics...
r27684 <Component Id="help.root" Guid="$(var.help.root.guid)" Win64='$(var.IsX64)'>
Gregory Szorc
help: document bundle specifications...
r31793 <File Name="bundlespec.txt" />
Pierre-Yves David
color: update main documentation...
r31123 <File Name="color.txt" />
Adrian Buehlmann
wix: refactor and new guids.wxi
r10828 <File Name="config.txt" KeyPath="yes" />
<File Name="dates.txt" />
David Demelier
help: add new deprecated topic...
r38019 <File Name="deprecated.txt" />
Adrian Buehlmann
wix: refactor and new guids.wxi
r10828 <File Name="diffs.txt" />
<File Name="environment.txt" />
<File Name="extensions.txt" />
Steve Borho
wix: catch up with more added files...
r14819 <File Name="filesets.txt" />
Rodrigo Damazio Bovendorp
help: adding a topic on flags...
r35036 <File Name="flags.txt" />
Steve Borho
wix: pick up new help topics added between 1.5 and 1.6...
r11491 <File Name="glossary.txt" />
Steve Borho
wix: catch up with more added files...
r14819 <File Name="hgignore.txt" />
Steve Borho
wix: pick up new help topics added between 1.5 and 1.6...
r11491 <File Name="hgweb.txt" />
Steve Borho
wix: add new merge-tools.txt help text
r12790 <File Name="merge-tools.txt" />
Matt Harbison
wix: include the help for pager...
r31098 <File Name="pager.txt" />
Adrian Buehlmann
wix: refactor and new guids.wxi
r10828 <File Name="patterns.txt" />
Steve Borho
wix: add phases help text and two more translations (issue 3288)
r16220 <File Name="phases.txt" />
Adrian Buehlmann
wix: refactor and new guids.wxi
r10828 <File Name="revisions.txt" />
Matt Harbison
wix: avoid an abort with 'hg help -k foo'...
r26119 <File Name="scripting.txt" />
Steve Borho
wix: add subrepos help text
r12830 <File Name="subrepos.txt" />
Adrian Buehlmann
wix: refactor and new guids.wxi
r10828 <File Name="templates.txt" />
<File Name="urls.txt" />
</Component>
Matt Harbison
wix: add help for current internal topics...
r27684
<Directory Id="help.internaldir" Name="internals">
<Component Id="help.internals" Guid="$(var.help.internals.guid)" Win64='$(var.IsX64)'>
Gregory Szorc
internals: document bundle2 format...
r36469 <File Id="internals.bundle2.txt" Name="bundle2.txt" />
Matt Harbison
wix: add help for current internal topics...
r27684 <File Id="internals.bundles.txt" Name="bundles.txt" KeyPath="yes" />
Steve Borho
wix: only one KeyPath is allowed per Component
r32178 <File Id="internals.censor.txt" Name="censor.txt" />
Matt Harbison
wix: add help for current internal topics...
r27684 <File Id="internals.changegroups.txt" Name="changegroups.txt" />
Boris Feld
internal-doc: document the config register mechanism...
r34933 <File Id="internals.config.txt" Name="config.txt" />
Gregory Szorc
help: document requirements...
r28523 <File Id="internals.requirements.txt" Name="requirements.txt" />
Matt Harbison
wix: add help for current internal topics...
r27684 <File Id="internals.revlogs.txt" Name="revlogs.txt" />
Gregory Szorc
help: internals topic for wire protocol...
r29859 <File Id="internals.wireprotocol.txt" Name="wireprotocol.txt" />
Matt Harbison
wix: add help for current internal topics...
r27684 </Component>
</Directory>
Adrian Buehlmann
wix: refactor and new guids.wxi
r10828 </Directory>
</DirectoryRef>
</Fragment>
Adrian Buehlmann
contrib/wix: switch *.wxs files to LF eol
r10513 </Wix>