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

2016-08-15 Thread Dave Cheney
With that many deps, the linking numbers could be expected, Go 1.7 improves this significantly. I cannot explain the compilation time for the package. I recommend waiting til the end of the day and upgrading to Go 1.7 as it us unlikely that any fix for this will be backported to Go1.6.x On Tu

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

2016-08-15 Thread James Pettyjohn
No, it's some hundreds of strings across that whole package, none longer than 100 characters. No giant static XML strings or the like. Thinking it might be telling to see dependency information I ran into (your) articles on golang dependency tools

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

2016-08-15 Thread Dave Cheney
That looks like the case. Do you include a large amount of static data in the site_www2 package? -- 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+uns

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

2016-08-15 Thread James Pettyjohn
Ah, that's what I've been looking for. I've got two scenarios, in most cases I'd expect this: go install -toolexec="/usr/bin/time" site_www2 # site_www2 7.48 real 8.05 user 0.55 sys # site_www2 5.19 real 4.89 user 0.65 sys This other scenario I a

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

2016-08-14 Thread Dave Cheney
Thank you. It's still not clear if we're talking about the same thing, can you please do one of the following and post the complete output go install -toolexec="/usr/bin/time -f '%U %S %C'" $PACKAGE #linux go install -toolexec="/usr/bin/time" $PACKAGE #osx On Monday, 15 August 2016 13:40:16 UTC

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

2016-08-14 Thread James Pettyjohn
Compile time: real 0m7.440s user 0m8.109s sys 0m0.563s Link time: real 0m10.331s user 0m7.255s sys 0m1.254s On Friday, August 12, 2016 at 5:08:04 PM UTC-7, Dave Cheney wrote: > > Thank you for this information. There is no timing information. > > On Saturday, 13 August 2016 08:01:

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

2016-08-12 Thread Dave Cheney
Thank you for this information. There is no timing information. On Saturday, 13 August 2016 08:01:19 UTC+10, James Pettyjohn wrote: > > Here we go: > > WORK=/var/folders/j7/4pq3fms94f16lq7sljs3gd1cgp/T/go-build579975441 > site_www2 > mkdir -p $WORK/site_www2/_obj/ > mkdir -p $WORK/site_www2/_o

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

2016-08-12 Thread James Pettyjohn
Here we go: WORK=/var/folders/j7/4pq3fms94f16lq7sljs3gd1cgp/T/go-build579975441 site_www2 mkdir -p $WORK/site_www2/_obj/ mkdir -p $WORK/site_www2/_obj/exe/ cd /Users/jp/git/project/src/site_www2 /usr/local/go/pkg/tool/darwin_amd64/compile -o $WORK/site_www2.a -trimpath $WORK -p main -complete

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

2016-08-11 Thread Dave Cheney
You mentioned timing your build with -x, can you please provide those 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...@googlegrou

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

2016-08-11 Thread James Pettyjohn
Maybe I wasn't clear, I am not sure what else to look at in this scenario. Whatever details you have in mind, i.e. which ones are relevant, is what I'm missing. On Thursday, August 11, 2016 at 8:16:38 PM UTC-7, Dave Cheney wrote: > > Can you please post some details. -- You received this mess