service.test; 170 samples
Legend
service.test
Total samples: 170
Focusing on: 170
Dropped nodes with <= 0 abs(samples)
Dropped edges with <= 0 samples
N1
runtime.gosched0
0 (0.0%)
of 69 (40.6%)
N14
github.com/surge/mqtt/service.funcĀ·006
1 (0.6%)
of 27 (15.9%)
N1->N14
27
N23
github.com/surge/mqtt/service.(*Service).processor
0 (0.0%)
of 16 (9.4%)
N1->N23
16
N30
testing.tRunner
0 (0.0%)
of 15 (8.8%)
N1->N30
15
N36
github.com/surge/mqtt/service.(*Service).receiver
0 (0.0%)
of 11 (6.5%)
N1->N36
11
N2
GC
0 (0.0%)
of 66 (38.8%)
N3
scanblock
40 (23.5%)
N2->N3
40
N13
ExternalCode
28 (16.5%)
N2->N13
8
N41
runtime.memclr
8 (4.7%)
N2->N41
2
N59
runtime.gentraceback
2 (1.2%)
of 5 (2.9%)
N2->N59
2
N73
runtime.funcspdelta
2 (1.2%)
of 3 (1.8%)
N2->N73
1
N75
scanbitvector
3 (1.8%)
N2->N75
3
N76
flushptrbuf
2 (1.2%)
N2->N76
2
N4
io.CopyN
0 (0.0%)
of 38 (22.4%)
N5
io.Copy
0 (0.0%)
of 37 (21.8%)
N4->N5
37
N51
runtime.new
0 (0.0%)
of 6 (3.5%)
N4->N51
1
N10
bufio.(*Writer).ReadFrom
1 (0.6%)
of 31 (18.2%)
N5->N10
31
N19
runtime.makeslice
0 (0.0%)
of 24 (14.1%)
N5->N19
21
N44
net.(*writerOnly).Write
0 (0.0%)
of 7 (4.1%)
N5->N44
7
N47
bytes.(*Buffer).ReadFrom
2 (1.2%)
of 6 (3.5%)
N5->N47
6
N6
System
0 (0.0%)
of 35 (20.6%)
N6->N13
20
N29
runtime.usleep
15 (8.8%)
N6->N29
15
N7
github.com/surge/mqtt/service.(*Service).send
1 (0.6%)
of 35 (20.6%)
N8
github.com/surge/mqtt/service.(*Service).writeMessage
0 (0.0%)
of 34 (20.0%)
N7->N8
34
N8->N4
31
N67
github.com/surge/mqtt/message.(*PublishMessage).Encode
2 (1.2%)
of 3 (1.8%)
N8->N67
3
N9
runtime.mallocgc
0 (0.0%)
of 32 (18.8%)
N21
runtime.MCache_Refill
1 (0.6%)
of 18 (10.6%)
N9->N21
18
N45
runtime.gc
1 (0.6%)
of 7 (4.1%)
N9->N45
7
N65
settype
4 (2.4%)
N9->N65
4
N70
profilealloc
0 (0.0%)
of 3 (1.8%)
N9->N70
3
N11
net.(*TCPConn).ReadFrom
0 (0.0%)
of 30 (17.6%)
N10->N11
30
N12
net.genericReadFrom
0 (0.0%)
of 30 (17.6%)
N11->N12
30
N12->N5
30
N15
github.com/surge/mqtt/service.sendPublishMessage
0 (0.0%)
of 26 (15.3%)
N14->N15
26
N15->N7
23
N69
github.com/surge/mqtt/service.newPublishMessage
0 (0.0%)
of 3 (1.8%)
N15->N69
3
N16
cnew
1 (0.6%)
of 25 (14.7%)
N16->N9
24
N17
makeslice1
0 (0.0%)
of 24 (14.1%)
N18
runtime.cnewarray
0 (0.0%)
of 24 (14.1%)
N17->N18
24
N18->N16
24
N19->N17
24
N20
github.com/surge/mqtt/service.(*Service).readMessage
0 (0.0%)
of 21 (12.4%)
N35
github.com/surge/mqtt/message.(*PublishMessage).Decode
0 (0.0%)
of 11 (6.5%)
N20->N35
11
N54
bufio.(*Reader).Peek
0 (0.0%)
of 5 (2.9%)
N20->N54
5
N56
github.com/surge/mqtt/mempool.(*MemPool).Get
1 (0.6%)
of 5 (2.9%)
N20->N56
5
N22
runtime.MCentral_CacheSpan
0 (0.0%)
of 17 (10.0%)
N21->N22
17
N31
MCentral_Grow
1 (0.6%)
of 13 (7.6%)
N22->N31
13
N48
runtime.MSpan_Sweep
6 (3.5%)
N22->N48
4
N24
github.com/surge/mqtt/service.(*Service).processIncoming
0 (0.0%)
of 15 (8.8%)
N23->N24
15
N25
github.com/surge/mqtt/service.(*Service).processPublish
0 (0.0%)
of 15 (8.8%)
N24->N25
15
N26
github.com/surge/mqtt/service.(*Service).serverPublish
0 (0.0%)
of 15 (8.8%)
N25->N26
15
N33
github.com/surge/mqtt/service.(*Service).Publish
0 (0.0%)
of 12 (7.1%)
N26->N33
12
N27
github.com/surge/mqtt/service.TestServiceLotsOfPublish0Messages
0 (0.0%)
of 15 (8.8%)
N28
github.com/surge/mqtt/service.receivePublishMessage
0 (0.0%)
of 15 (8.8%)
N27->N28
15
N32
github.com/surge/mqtt/service.(*Service).receive
0 (0.0%)
of 13 (7.6%)
N28->N32
13
N77
github.com/dataence/assert.Equal
0 (0.0%)
of 2 (1.2%)
N28->N77
2
N30->N27
15
N34
runtime.MHeap_Alloc
0 (0.0%)
of 12 (7.1%)
N31->N34
12
N32->N20
13
N33->N7
12
N34->N41
5
N46
MHeap_AllocLocked
2 (1.2%)
of 6 (3.5%)
N34->N46
6
N38
github.com/surge/mqtt/message.(*fixedHeader).Decode
0 (0.0%)
of 10 (5.9%)
N35->N38
10
N80
github.com/dataence/glog.Debugf
0 (0.0%)
of 2 (1.2%)
N35->N80
1
N37
github.com/surge/mqtt/service.(*Service).tcpReceiver
1 (0.6%)
of 11 (6.5%)
N36->N37
11
N37->N20
8
N37->N80
1
N40
github.com/surge/mqtt/message.(*fixedHeader).copy
0 (0.0%)
of 8 (4.7%)
N38->N40
8
N39
syscall.Syscall
10 (5.9%)
N40->N4
7
N42
net.(*conn).Write
0 (0.0%)
of 7 (4.1%)
N43
net.(*netFD).Write
1 (0.6%)
of 7 (4.1%)
N42->N43
7
N61
syscall.Write
0 (0.0%)
of 5 (2.9%)
N43->N61
5
N44->N42
7
N53
runtime.starttheworld
0 (0.0%)
of 6 (3.5%)
N45->N53
6
N66
MHeap_Reclaim
0 (0.0%)
of 3 (1.8%)
N46->N66
3
N64
bytes.makeSlice
0 (0.0%)
of 4 (2.4%)
N47->N64
4
N49
runtime.futex
6 (3.5%)
N50
runtime.futexwakeup
0 (0.0%)
of 6 (3.5%)
N50->N49
6
N51->N9
6
N52
runtime.notewakeup
0 (0.0%)
of 6 (3.5%)
N52->N50
6
N53->N52
6
N55
bufio.(*Reader).fill
0 (0.0%)
of 5 (2.9%)
N54->N55
5
N57
net.(*conn).Read
0 (0.0%)
of 5 (2.9%)
N55->N57
5
N58
net.(*netFD).Read
0 (0.0%)
of 5 (2.9%)
N57->N58
5
N60
syscall.Read
0 (0.0%)
of 5 (2.9%)
N58->N60
5
N59->N73
2
N62
syscall.read
0 (0.0%)
of 5 (2.9%)
N60->N62
5
N63
syscall.write
0 (0.0%)
of 5 (2.9%)
N61->N63
5
N62->N39
5
N63->N39
5
N64->N19
3
N74
runtime.sweepone
1 (0.6%)
of 3 (1.8%)
N66->N74
3
N68
github.com/surge/mqtt/message.NewPublishMessage
0 (0.0%)
of 3 (1.8%)
N68->N51
2
N69->N68
1
N71
runtime.MProf_Malloc
0 (0.0%)
of 3 (1.8%)
N70->N71
3
N72
runtime.callers
0 (0.0%)
of 3 (1.8%)
N71->N72
3
N72->N59
3
N74->N48
2
N78
github.com/dataence/assert.ObjectsAreEqual
0 (0.0%)
of 2 (1.2%)
N77->N78
2
N79
github.com/dataence/glog.(*Level).get
0 (0.0%)
of 2 (1.2%)