Re: [go-nuts] pprof not showing call hierarchy for time.now and time.Until

2019-10-18 Thread Robert Engels
But also can’t you just find that node in the graph and see the callers? > On Oct 18, 2019, at 8:54 PM, Robert Engels wrote: > >  > Yes. When using the command pprof viewer there is a way to show the hotspots > with the callers. Again I don’t have access to dev at the moment. > >>> On Oct

Re: [go-nuts] pprof not showing call hierarchy for time.now and time.Until

2019-10-18 Thread Robert Engels
Yes. When using the command pprof viewer there is a way to show the hotspots with the callers. Again I don’t have access to dev at the moment. > On Oct 18, 2019, at 8:44 PM, Piers Powlesland > wrote: > >  > Hi Robert, > > I think I found the options you were referring to, and I was able to

Re: [go-nuts] pprof not showing call hierarchy for time.now and time.Until

2019-10-18 Thread Piers Powlesland
Hi Robert, I think I found the options you were referring to, and I was able to get the whole overview with the following. go tool pprof -http : -edgefraction 0 -nodefraction 0 -nodecount 10 cpu.prof Its a bit of a screenfull though, and I was wondering if there is any simpler way to

[go-nuts] Re: pure-go implementation of sqlite

2019-10-18 Thread Mandolyte
I have tested this one: https://godoc.org/modernc.org/sqlite -- but not extensively and it states it should not be used for production. (my testing was on the "archived" github version) And this is the goal of https://github.com/elliotchance/c2go -- but can't tell if it is active or whether it

Re: [go-nuts] pprof not showing call hierarchy for time.now and time.Until

2019-10-18 Thread Piers Powlesland
Hi Ian, I was on go1.13.2 linux/amd64 so i upgraded to go1.13.3 linux/amd64. I'm still seeing the same problem. On Fri, Oct 18, 2019 at 8:43 PM Ian Lance Taylor wrote: > On Fri, Oct 18, 2019 at 12:37 PM wrote: > > > > I used pprof to get an overview of where time is being spent in my > latest

[go-nuts] Re: [security] Go 1.13.2 and Go 1.12.11 are released

2019-10-18 Thread Anthony Martin
Katie Hockman once said: > The Go 1.13.2 release also includes a fix to the compiler that prevents > improper access to negative slice indexes in rare cases. Affected code, in > which the compiler can prove that the index is zero or negative, would have > resulted in a panic in Go 1.12.11, but

[go-nuts] Re: GO Mod (modules) for dummies. Please help.

2019-10-18 Thread Stuart Davies
Thanks but I had alread seen your post. But I cannot get the replace to work. I have given more detail below: Project layout: ── webserver ├── config │ ├── config.go ├── example │ ├── go.mod │ ├── go.sum │ ├── webserver.go ├── exec │ ├── exec.go

Re: [go-nuts] ptrace arm64

2019-10-18 Thread Ian Lance Taylor
On Fri, Oct 18, 2019 at 4:44 AM eric fang wrote: > > Hi Ian, go-delve for arm64 (https://github.com/go-delve/delve/issues/1715) > also encountered this problem, I want to fix this problem. > unix.PtraceGetRegsArm64 may be not work on Linux arm64 since version 2.6.34, > because PTRACE_GETREGS

Re: [go-nuts] pprof not showing call hierarchy for time.now and time.Until

2019-10-18 Thread Robert Engels
I am pretty sure there is a way to filter nodes that are less than X %, and some of that filtering is on by default - so you may want to turn that off (can't say for sure since not at dev machine right now). -Original Message- >From: Ian Lance Taylor >Sent: Oct 18, 2019 2:43 PM

Re: [go-nuts] pprof not showing call hierarchy for time.now and time.Until

2019-10-18 Thread Ian Lance Taylor
On Fri, Oct 18, 2019 at 12:37 PM wrote: > > I used pprof to get an overview of where time is being spent in my latest > project and I'm > getting a result I don't understand. When using the web view, there are > certain function > calls that are taking up a large percentage of the time but they

[go-nuts] pprof not showing call hierarchy for time.now and time.Until

2019-10-18 Thread pierspowlesland
Hi there, I used pprof to get an overview of where time is being spent in my latest project and I'm getting a result I don't understand. When using the web view, there are certain function calls that are taking up a large percentage of the time but they appear un-rooted as in there seems to be

Re: [go-nuts] Re: Static methods

2019-10-18 Thread Marvin Renich
First, let me apologize for writing in a way that you took to be aggressive. That was definitely not my intention. My state of mind when I wrote it was conversational, not antagonistic, and I did not realize you would interpret it any other way. * gera...@cloudoki.com [191018 11:08]: > hey,

Re: [go-nuts] GO Mod (modules) for dummies. Please help.

2019-10-18 Thread Dimas Prawira
Hi, I have reply thread about Go mod. You can search in the mailist history. Cheers -- 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

[go-nuts] Re: GO Mod (modules) for dummies. Please help.

2019-10-18 Thread Stuart Davies
I am having real issues understanding what is going wrong. When my project was self contained I thought I understood. Now I am trying to package it up I am in trouble. I had a project layout as follows (simplified) webserver/config/config.go webserver/template/template.go

[go-nuts] Re: GO Mod (modules) for dummies. Please help.

2019-10-18 Thread Stuart Davies
I am having real issues understanding what is going wrong. When my project was self contained I thought I understood. Now I am trying to package it up I am in trouble. I had a project layout as follows (simplified) webserver/config/config.go webserver/template/template.go

Re: [go-nuts] Re: Static methods

2019-10-18 Thread gerardo
hey, Marvin, Actually I haven't noticed it was a 8 year old thread, neither had I noticed that there should be any kind of preface in such cases (well, it was just a comment and the group rules are not that clear, afterall). My comment was about a rather *usual feature in OOP languages and

[go-nuts] Re: pure-go implementation of sqlite

2019-10-18 Thread doug . manley
As of right now, all I've been able to find is this (incomplete) read-only implementation: https://github.com/alicebob/sqlittle On Tuesday, July 1, 2014 at 8:27:34 AM UTC-4, Sebastien Binet wrote: > > hi there, > > is there (or is somebody working on) a pure-go implementation of sqlite ? > or

Re: [go-nuts] ptrace arm64

2019-10-18 Thread eric fang
Hi Ian, go-delve for arm64 (https://github.com/go-delve/delve/issues/1715) also encountered this problem, I want to fix this problem. unix.PtraceGetRegsArm64 may be not work on Linux arm64 since version 2.6.34, because PTRACE_GETREGS has been replaced with PTRACE_GETREGSET, no longer support