Thread overview
dub building is extremely slow
Apr 30, 2015
zhmt
Apr 30, 2015
zhmt
Apr 30, 2015
wobbles
May 04, 2015
zhmt
April 30, 2015
dub build is running on centos7. It works well until today, It becomes very slow suddenly. It will take minuties per compilation, there is 10 files in project.

Has anyone experienced this?
April 30, 2015
On Thursday, 30 April 2015 at 02:02:50 UTC, zhmt wrote:
> dub build is running on centos7. It works well until today, It becomes very slow suddenly. It will take minuties per compilation, there is 10 files in project.
>
> Has anyone experienced this?

It is because:
The dub will connect to some website to check version of packages,but the destination website is limited by my gov,so... the compilation is slowed.

solution:

shutdown the network of pc.
April 30, 2015
On Thursday, 30 April 2015 at 03:00:36 UTC, zhmt wrote:
> On Thursday, 30 April 2015 at 02:02:50 UTC, zhmt wrote:
>> dub build is running on centos7. It works well until today, It becomes very slow suddenly. It will take minuties per compilation, there is 10 files in project.
>>
>> Has anyone experienced this?
>
> It is because:
> The dub will connect to some website to check version of packages,but the destination website is limited by my gov,so... the compilation is slowed.
>
> solution:
>
> shutdown the network of pc.

Try running with --nodeps (or --no-deps on phone so cant check).
It will make dub stop contacting the network.
May 04, 2015
On Thursday, 30 April 2015 at 12:31:54 UTC, wobbles wrote:
> On Thursday, 30 April 2015 at 03:00:36 UTC, zhmt wrote:
>> On Thursday, 30 April 2015 at 02:02:50 UTC, zhmt wrote:
>>> dub build is running on centos7. It works well until today, It becomes very slow suddenly. It will take minuties per compilation, there is 10 files in project.
>>>
>>> Has anyone experienced this?
>>
>> It is because:
>> The dub will connect to some website to check version of packages,but the destination website is limited by my gov,so... the compilation is slowed.
>>
>> solution:
>>
>> shutdown the network of pc.
>
> Try running with --nodeps (or --no-deps on phone so cant check).
> It will make dub stop contacting the network.

Thanks very much, this option works fine.