Re: [go-nuts] Increase speed of repeated builds

2016-08-11 Thread James Pettyjohn
I tried using 1.7rc6, no issues in compilation but finishes only about half 
a second under 1.6.2.

On Thursday, August 11, 2016 at 8:19:12 PM UTC-7, James Pettyjohn wrote:
>
> I noticed that in the release notes, I'll try out the RC and see what it 
> gives me.
>
> On Thursday, August 11, 2016 at 8:09:55 PM UTC-7, Michael Hudson-Doyle 
> wrote:
>>
>> On 12 August 2016 at 15:01, James Pettyjohn  wrote: 
>> > I have a project which has become fairly large, I simple check of *.go, 
>> no 
>> > _test files (including all modules), it's up to 1300 files. 
>> > 
>> > The main module though is 60 files, about 1MB of go source. It is 
>> taking to 
>> > about 20 seconds to compile for a single change in the main module 
>> using go 
>> > 1.6.2 darwin/amd64. 
>> > 
>> > Using -x on go install I'm seeing half the time on build and half the 
>> time 
>> > on linking. 
>> > 
>> > I think I've gotten all the direct CGO dependencies moved to submodules 
>> but 
>> > I'm not sure what would indicates if it is going through a cgo phase or 
>> not. 
>> > 
>> > Any input on other things to look for or tune on what is making the 
>> build 
>> > time so long? 
>>
>> 1.7 should be much faster (the linker is about 3 times faster on some 
>> things I tried). 
>>
>> Cheers, 
>> mwh 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Increase speed of repeated builds

2016-08-11 Thread James Pettyjohn
I noticed that in the release notes, I'll try out the RC and see what it 
gives me.

On Thursday, August 11, 2016 at 8:09:55 PM UTC-7, Michael Hudson-Doyle 
wrote:
>
> On 12 August 2016 at 15:01, James Pettyjohn  > wrote: 
> > I have a project which has become fairly large, I simple check of *.go, 
> no 
> > _test files (including all modules), it's up to 1300 files. 
> > 
> > The main module though is 60 files, about 1MB of go source. It is taking 
> to 
> > about 20 seconds to compile for a single change in the main module using 
> go 
> > 1.6.2 darwin/amd64. 
> > 
> > Using -x on go install I'm seeing half the time on build and half the 
> time 
> > on linking. 
> > 
> > I think I've gotten all the direct CGO dependencies moved to submodules 
> but 
> > I'm not sure what would indicates if it is going through a cgo phase or 
> not. 
> > 
> > Any input on other things to look for or tune on what is making the 
> build 
> > time so long? 
>
> 1.7 should be much faster (the linker is about 3 times faster on some 
> things I tried). 
>
> Cheers, 
> mwh 
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Increase speed of repeated builds

2016-08-11 Thread Dave Cheney
Can you please post some details. 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Increase speed of repeated builds

2016-08-11 Thread Michael Hudson-Doyle
On 12 August 2016 at 15:01, James Pettyjohn  wrote:
> I have a project which has become fairly large, I simple check of *.go, no
> _test files (including all modules), it's up to 1300 files.
>
> The main module though is 60 files, about 1MB of go source. It is taking to
> about 20 seconds to compile for a single change in the main module using go
> 1.6.2 darwin/amd64.
>
> Using -x on go install I'm seeing half the time on build and half the time
> on linking.
>
> I think I've gotten all the direct CGO dependencies moved to submodules but
> I'm not sure what would indicates if it is going through a cgo phase or not.
>
> Any input on other things to look for or tune on what is making the build
> time so long?

1.7 should be much faster (the linker is about 3 times faster on some
things I tried).

Cheers,
mwh

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Increase speed of repeated builds

2016-08-11 Thread James Pettyjohn
I have a project which has become fairly large, I simple check of *.go, no 
_test files (including all modules), it's up to 1300 files. 

The main module though is 60 files, about 1MB of go source. It is taking to 
about 20 seconds to compile for a single change in the main module using go 
1.6.2 darwin/amd64.  

Using -x on go install I'm seeing half the time on build and half the time 
on linking.

I think I've gotten all the direct CGO dependencies moved to submodules but 
I'm not sure what would indicates if it is going through a cgo phase or not.

Any input on other things to look for or tune on what is making the build 
time so long?



-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.