Speed up `dub`.

xcvn via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 7 13:49:59 PST 2016


On Monday, 7 March 2016 at 19:58:19 UTC, WebFreak001 wrote:
> On Monday, 7 March 2016 at 18:58:55 UTC, ciechowoj wrote:
>> dub --version
>> DUB version 0.9.24+161-gb9ce700, built on Feb 23 2016
>>
>> `dub.json` is `dub.json` of dstep
>>
>> `dub test --skip-registry=all`
>> Do not helps.
>
> Its because of dub going through all those JSON files. For 
> example just querying the import paths would probably take like 
> 7s in your case. Try "dub describe --import-paths" in your 
> project. Its something you can't do anything against except 
> reporting it to the dub issues

Yes but if he wants to build then `--describe` will not help that 
much !


More information about the Digitalmars-d-learn mailing list