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 am assuming something using my search package changes
and results in this chain being recompiled:
go install -toolexec="/usr/bin/time" site_www2
# github.com/blevesearch/bleve/analysis/language/en
0.20 real 0.10 user 0.02 sys
# github.com/blevesearch/bleve/analysis/language/ckb
0.22 real 0.11 user 0.02 sys
# github.com/blevesearch/bleve/analysis/analyzers/standard_analyzer
0.08 real 0.06 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/da
0.08 real 0.05 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/es
0.06 real 0.05 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/de
0.14 real 0.08 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/fa
0.09 real 0.06 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/fi
0.11 real 0.05 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/hu
0.06 real 0.04 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/it
0.14 real 0.12 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/fr
0.37 real 0.21 user 0.02 sys
# github.com/blevesearch/bleve/analysis/language/nl
0.11 real 0.06 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/no
0.12 real 0.06 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/ro
0.10 real 0.07 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/pt
0.22 real 0.12 user 0.02 sys
# github.com/blevesearch/bleve/analysis/language/ru
0.08 real 0.05 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/th
0.08 real 0.05 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/sv
0.13 real 0.07 user 0.01 sys
# github.com/blevesearch/bleve/analysis/language/tr
0.06 real 0.05 user 0.01 sys
# github.com/blevesearch/bleve
1.90 real 2.18 user 0.18 sys
# site_www2/search
0.23 real 0.24 user 0.03 sys
# site_www2
7.67 real 8.14 user 0.58 sys
# site_www2
5.79 real 4.94 user 0.70 sys
On Sunday, August 14, 2016 at 9:32:02 PM UTC-7, Dave Cheney wrote:
>
> 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+10, James Pettyjohn wrote:
>>
>> 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:19 UTC+10, James Pettyjohn wrote:
>>>>
>>>> Here we go:
>>>>
>>>> WORK=/var/folders/j7/4pq3fms94f16lq7sljs3gd1c0000gp/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 -buildid
>>>> 66dc2ac41b6b8158286be8a6b59f302b6ff26b19 -D
>>>> _/Users/jp/git/project/src/site_www2 -I $WORK -I
>>>> /Users/jp/git/project/pkg/darwin_amd64 -pack ./activities.go
>>>> ./admin_handler.go ./attrs.go ./awards.go ./blockdata.go ./blocks.go
>>>> ./calendar.go ./combined.go ./context-editable.go ./context-funcmap.go
>>>> ./context-orgs.go ./context-store.go ./context.go ./data.go ./datafile.go
>>>> ./draft_pages_attr_manager.go ./duration.go ./email_subscribe.go
>>>> ./error_handler.go ./events_handler.go ./fake_attrs.go ./features.go
>>>> ./f-vchannel.go ./form-submitter-core.go ./form-submitter-item-data.go
>>>> ./form-submitter.go ./io_handler.go ./igcache.go ./event.go ./legacy.go
>>>> ./main.go ./a-handler.go ./menus.go ./notfound.go ./org_handler.go
>>>> ./profile.go ./published_pages_handler.go ./reaches_handler.go
>>>> ./redirects.go ./region-slideshow.go ./regions.go ./robots-txt.go ./rss.go
>>>> ./search.go ./security-handler.go ./server.go ./sessions.go ./sitemap.go
>>>> ./store-handler-r.go ./store-handler.go ./store-sessions.go ./submitter.go
>>>> ./tagmapper.go ./tags.go ./temp_draft_api.go ./translation-import.go
>>>> ./util-admin-access.go ./util.go ./video-c.go ./videos.go
>>>> cd .
>>>> /usr/local/go/pkg/tool/darwin_amd64/link -o
>>>> $WORK/site_www2/_obj/exe/a.out -L $WORK -L
>>>> /Users/jp/git/project/pkg/darwin_amd64 -extld=clang -buildmode=exe
>>>> -buildid=66dc2ac41b6b8158286be8a6b59f302b6ff26b19 -X main.CacheId=8d815e7
>>>> $WORK/site_www2.a
>>>> mkdir -p /Users/jp/git/project/bin/
>>>> mv $WORK/site_www2/_obj/exe/a.out /Users/jp/git/project/bin/site_www2
>>>>
>>>> On Thursday, August 11, 2016 at 10:47:10 PM UTC-7, Dave Cheney wrote:
>>>>>
>>>>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.