On Sunday, 5 June 2016 at 21:20:20 UTC, Andrej Mitrovic wrote:
On Thursday, 2 June 2016 at 13:04:00 UTC, ciechowoj wrote:
and found that an assert from `std/path.d:3168` (`globMatch`)
contributes a major amount to the running time of dub.
```
assert(balancedParens(pattern, '[', ']', 0));
On Thursday, 2 June 2016 at 13:04:00 UTC, ciechowoj wrote:
and found that an assert from `std/path.d:3168` (`globMatch`)
contributes a major amount to the running time of dub.
```
assert(balancedParens(pattern, '[', ']', 0));
assert(balancedParens(pattern, '{', '}', 0));
```
Hmm..
On 04/06/16 10:04, Russel Winder via Digitalmars-d-learn wrote:
Dub must check all dependencies before starting a build, the question
is whether is should download and build them or just fail.
Yeah, I meant check online.
--
/Jacob Carlborg
On Tue, 2016-05-24 at 09:00 +0200, Jacob Carlborg via Digitalmars-d-
learn wrote:
>
[…]
> I think that by default Dub should not check dependencies. There
> should
> be an explicit command to install the dependencies.
Dub must check all dependencies before starting a build, the question
is
On 2016-06-02 15:07, ciechowoj wrote:
Maybe it would be worth to write something about the issue here
https://github.com/dlang/dub#installation . I'm curious how the
pre-compiled versions are built.
Yeah, I really hope they're built with optimizations enabled.
--
/Jacob Carlborg
I am not sure but on Arch linux I always recompile dub myself because by
default it is build without release flags too.
Dne 2.6.2016 v 15:07 ciechowoj via Digitalmars-d-learn napsal(a):
Maybe it would be worth to write something about the issue here
https://github.com/dlang/dub#installation .
Maybe it would be worth to write something about the issue here
https://github.com/dlang/dub#installation . I'm curious how the
pre-compiled versions are built.
On Thursday, 2 June 2016 at 12:20:50 UTC, Jacob Carlborg wrote:
On 2016-06-01 23:33, ciechowoj wrote:
Hahahaa. Who could possibly think that `build.sh` builds dub
in debug
mode? With -release -O -inline -m64 it runs 5 times faster :
P. It made
my day...
Haha really?
Yes, I should have
On 2016-06-01 23:33, ciechowoj wrote:
Hahahaa. Who could possibly think that `build.sh` builds dub in debug
mode? With -release -O -inline -m64 it runs 5 times faster : P. It made
my day...
Haha really?
--
/Jacob Carlborg
Hahahaa. Who could possibly think that `build.sh` builds dub in
debug mode? With -release -O -inline -m64 it runs 5 times faster
: P. It made my day...
On 2016-03-07 10:18, ciechowoj wrote:
I'm using `dub` to build project. And every time I run `dub` it seems to
check if dependencies are up to date, which takes some time. Is there a
way to switch of that checking? Or any other way to speed up building
process? It really slows down my
On Thursday, 19 May 2016 at 17:50:44 UTC, ciechowoj wrote:
dub build --nodeps
I tried it, doesn't seem to do anything, maybe something is
broken.
Perhaps you didn't complete "dub build" without --nodeps
beforehand? You have to do that once, and it's still as
annoyingly inefficient as
On Sunday, 15 May 2016 at 01:48:41 UTC, cy wrote:
dub build --nodeps
It's amazing.
I tried it, doesn't seem to do anything, maybe something is
broken.
On Sunday, 15 May 2016 at 06:49:00 UTC, Russel Winder wrote:
I am not sure about DStep build, but for the two projects I
have (using
GtkD) build times using Dub were sufficiently long that I
switched to
SCons and it is OK and allows for a reasonable development
rhythm.
That SCons looks very
On Sat, 2016-05-14 at 16:36 +, ciechowoj via Digitalmars-d-learn
wrote:
> On Monday, 7 March 2016 at 21:56:11 UTC, Seb wrote:
> >
> > Use ld.gold - it will speed up your linking quite dramatically!
> >
> > https://code.dawg.eu/reducing-vibed-turnaround-time-part-1-faster-l
> > inking.html
>
On Monday, 7 March 2016 at 09:18:37 UTC, ciechowoj wrote:
I'm using `dub` to build project. And every time I run `dub` it
seems to check if dependencies are up to date, which takes some
time. Is there a way to switch of that checking? Or any other
way to speed up building process? It really
On Monday, 7 March 2016 at 21:56:11 UTC, Seb wrote:
Use ld.gold - it will speed up your linking quite dramatically!
https://code.dawg.eu/reducing-vibed-turnaround-time-part-1-faster-linking.html
Thanks, it improves things a little. However I've just had idea
that it should be possible to
On Tuesday, 8 March 2016 at 15:43:28 UTC, rcorre wrote:
On Monday, 7 March 2016 at 22:47:13 UTC, Luis wrote:
I try to grab dstep with dub fetch step (dub version 0.9.24,
built on Aug 19 2015, on Ubuntu), and try to run dub build
step. I can confirm that on my machine takes around 5 seconds
On Monday, 7 March 2016 at 21:49:59 UTC, xcvn wrote:
Yes but if he wants to build then `--describe` will not help
that much !
dub uses that internally for finding the files for compiling, so
thats the cause of the slowdown
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.
I try to grab dstep with dub fetch step (dub version 0.9.24,
built on Aug 19 2015, on
On Monday, 7 March 2016 at 09:18:37 UTC, ciechowoj wrote:
I'm using `dub` to build project. And every time I run `dub` it
seems to check if dependencies are up to date, which takes some
time. Is there a way to switch of that checking? Or any other
way to speed up building process? It really
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
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
I would say dub is broken and should be fixed. Even dub run is really
slow and try to build everything. So please report a bug:
https://github.com/D-Programming-Language/dub/issues
Dne 7.3.2016 v 19:58 ciechowoj via Digitalmars-d-learn napsal(a):
dub --version
DUB version 0.9.24+161-gb9ce700,
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.
On Monday, 7 March 2016 at 09:18:37 UTC, ciechowoj wrote:
I'm using `dub` to build project. And every time I run `dub` it
seems to check if dependencies are up to date, which takes some
time. Is there a way to switch of that checking? Or any other
way to speed up building process? It really
On Monday, 7 March 2016 at 09:18:37 UTC, ciechowoj wrote:
I'm using `dub` to build project. And every time I run `dub` it
seems to check if dependencies are up to date, which takes some
time. Is there a way to switch of that checking? Or any other
way to speed up building process? It really
On Monday, 7 March 2016 at 09:22:16 UTC, Daniel Kozak wrote:
maybe: dub build --nodeps
Dne 7.3.2016 v 10:18 ciechowoj via Digitalmars-d-learn
napsal(a):
I'm using `dub` to build project. And every time I run `dub`
it seems to check if dependencies are up to date, which takes
some time. Is
maybe: dub build --nodeps
Dne 7.3.2016 v 10:18 ciechowoj via Digitalmars-d-learn napsal(a):
I'm using `dub` to build project. And every time I run `dub` it seems
to check if dependencies are up to date, which takes some time. Is
there a way to switch of that checking? Or any other way to speed
29 matches
Mail list logo