pprof

clearing-cloud samples
File: clearing-cloud
Type: samples
Time: Sep 21, 2023 at 6:54am (UTC)
Duration: 30.11s, Total samples = 5995
Save options as
Delete config

runtime.sellock

/usr/local/go/src/runtime/select.go

  Total:         415       1280 (flat, cum) 21.35%
     33          112        112           ??? 
     35          114        114           ??? 
     36          128        128           ??? 
     37            1          1           ??? 
     39           31        896           ???                                                                                                                            lock_futex.go:48
                                                                                                                           lockrank_off.go:22
                                     ⋮
                                     ⋮

     42           29         29           ??? 

runtime.selunlock

/usr/local/go/src/runtime/select.go

  Total:         275       1309 (flat, cum) 21.83%
     44           68         68           ??? 
     53           41         41           ??? 
     54          100        100           ??? 
     55            7          7           ??? 
     58           27       1061           ???                                      ⋮
                                     ⋮
                                                                                                                           lock_futex.go:112
                                                                                                                           lockrank_off.go:32

     60           32         32           ??? 

runtime.selectgo

/usr/local/go/src/runtime/select.go

  Total:        2017       3297 (flat, cum) 55.00%
    121          230        230           ??? 
    131           25         25           ??? 
    132           15         15           ??? 
    133            1          1           ??? 
    134           76         76           ??? 
    153           85         85           ??? 
    167           42         42           ??? 
    168           21         21           ??? 
    171          124        124           ??? 
    172           49         49           ??? 
    176          157        157           ???                                                                                                                            stubs.go:154
                                                                                                                           stubs.go:132                                                                                 stubs.go:134
                                     ⋮
                                     ⋮
                                                                                                                           stubs.go:132
                                     ⋮
                                     ⋮
                                                                                                                           stubs.go:132                                                                                 stubs.go:133
                                     ⋮
                                     ⋮
                                                                                                                           stubs.go:132
                                     ⋮
                                     ⋮
                                     ⋮
                                                                                                                           stubs.go:133                                                                                 stubs.go:125
                                     ⋮
                                     ⋮
                                     ⋮
                                                                                                                           stubs.go:154
                                                                                                                           stubs.go:133

    177          126        126           ??? 
    178           15         15           ??? 
    179           27         27           ??? 
    181           30         30           ??? 
    186           72         72           ??? 
    189           85         85           ??? 
    190           70         70           ??? 
    192           28         28           ??? 
    195           72         72           ??? 
    197           61         61           ??? 
    198           37         37           ??? 
    199           71         71           ??? 
    200           62         62           ??? 
    202           16         16           ??? 
    204           23         23           ??? 
    217           56         56           ??? 
    230           42       1322           ??? 
    249          108        108           ??? 
    251           32         32           ??? 
    252           13         13           ??? 
    254           24         24           ??? 
    255           38         38           ???                                                                                                                            chan.go:771                                                                                 chan.go:773                                                                                 chan.go:772

    256           37         37           ??? 
    259            4          4           ??? 
    262           43         43           ??? 

runtime.selectgo

/usr/local/go/src/runtime/select.go

  Total:         113       1808 (flat, cum) 30.16%
    479           52       1361           ??? 
    481           60         60           ??? 
    482            .        386           ??? 
    487            1          1           ??? 

runtime.selectgo

/usr/local/go/src/runtime/select.go

  Total:          89         89 (flat, cum)  1.48%
    508           27         27           ??? 
    510           62         62           ??? 

runtime.lock

/usr/local/go/src/runtime/lock_futex.go

  Total:           7        872 (flat, cum) 14.55%
     48            7        872           ???                                                                                                                            lockrank_off.go:22

runtime.lock2

/usr/local/go/src/runtime/lock_futex.go

  Total:         865        865 (flat, cum) 14.43%
     51           56         56           ??? 
     52           11         11           ??? 
     54           29         29           ??? 
     57           17         17           ??? 
     60           22         22           ??? 
     61          703        703           ??? 
     62           27         27           ??? 

runtime.unlock

/usr/local/go/src/runtime/lock_futex.go

  Total:           0       1034 (flat, cum) 17.25%
    112            .       1034           ???                                                                                                                            lockrank_off.go:32

runtime.unlock2

/usr/local/go/src/runtime/lock_futex.go

  Total:        1034       1034 (flat, cum) 17.25%
    115           41         41           ??? 
    116          837        837           ??? 
    117           42         42           ??? 
    126           79         79           ??? 
    132           35         35           ??? 

runtime.duffzero

/usr/local/go/src/runtime/duff_amd64.s

  Total:         101        101 (flat, cum)  1.68%
     92           12         12           ??? 
     93            4          4           ??? 
     94            6          6           ??? 
     95            4          4           ??? 
     96           18         18           ??? 
     99            7          7           ??? 
    100           12         12           ??? 
    101           17         17           ??? 
    102           11         11           ??? 
    104           10         10           ??? 

runtime.duffcopy

/usr/local/go/src/runtime/duff_amd64.s

  Total:         289        289 (flat, cum)  4.82%
    387           20         20           ??? 
    388            6          6           ??? 
    390           16         16           ??? 
    392            1          1           ??? 
    393            8          8           ??? 
    395           26         26           ??? 
    398            8          8           ??? 
    400           40         40           ??? 
    403            8          8           ??? 
    405           31         31           ??? 
    408            5          5           ??? 
    410           20         20           ??? 
    413            8          8           ??? 
    415           19         19           ??? 
    418            6          6           ??? 
    420           29         29           ??? 
    423            6          6           ??? 
    425           31         31           ??? 
    427            1          1           ??? 

clearing-cloud/internal/pkg/session/etcd.(*EtcdClient).WatchJoin.func1

/builds/p-clearing-system/clearing-cloud-v2/internal/pkg/session/etcd/etcd.go

  Total:         127       1998 (flat, cum) 33.33%
    166            .          2           ??? 
    167           21       1738           ??? 
    170           17         29           ??? 
    172           64        204           ??? 
    173           25         25           ??? 

clearing-cloud/internal/pkg/session/etcd.(*EtcdClient).WatchLeave.func1

/builds/p-clearing-system/clearing-cloud-v2/internal/pkg/session/etcd/etcd.go

  Total:         153       1988 (flat, cum) 33.16%
    194           29       1683           ??? 
    195           21         33           ??? 
    197           78        244           ??? 
    198           25         28           ??? 

runtime.memclrNoHeapPointers

/usr/local/go/src/runtime/memclr_amd64.s

  Total:         118        118 (flat, cum)  1.97%
     18           33         33           ??? 
     26           32         32           ??? 
     32            2          2           ??? 
     33           23         23           ??? 
     39            2          2           ??? 
     41           26         26           ??? 

runtime.memclrNoHeapPointers

/usr/local/go/src/runtime/memclr_amd64.s

  Total:         133        133 (flat, cum)  2.22%
    203            3          3           ??? 
    205           21         21           ??? 
    206            5          5           ??? 
    209           33         33           ??? 
    210            2          2           ??? 
    213           38         38           ??? 
    217           30         30           ??? 
    218            1          1           ??? 

runtime.fastrand

/usr/local/go/src/runtime/stubs.go

  Total:          87         87 (flat, cum)  1.45%
    125            2          2           ??? 
    132           49         49           ??? 
    133           33         33           ??? 
    134            3          3           ??? 

runtime.fastrandn

/usr/local/go/src/runtime/stubs.go

  Total:         144        144 (flat, cum)  2.40%
    154          144        144           ???                                                                                                                            stubs.go:132                                                                                 stubs.go:134
                                     ⋮
                                     ⋮
                                                                                                                           stubs.go:132
                                     ⋮
                                     ⋮
                                                                                                                           stubs.go:132                                                                                 stubs.go:133
                                     ⋮
                                     ⋮
                                                                                                                           stubs.go:132
                                     ⋮
                                     ⋮
                                     ⋮
                                                                                                                           stubs.go:133                                                                                 stubs.go:125                                                                                 stubs.go:133

runtime.typedmemclr

/usr/local/go/src/runtime/mbarrier.go

  Total:         135        386 (flat, cum)  6.44%
    317           75         75           ??? 
    321           26        277           ??? 
    322           34         34           ??? 

git.songmaokeji.com/go-modules/etcd.(*ServiceDiscovery).watcher

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/git.fpdev.tech/go-modules/[email protected]/servdiscovery.go

  Total:          87       2000 (flat, cum) 33.36%
     76            .          1           ??? 
     77           11       1838           ??? 
     80           57        142           ??? 
     81           19         19           ??? 

runtime.(*waitq).dequeue

/usr/local/go/src/runtime/chan.go

  Total:          38         38 (flat, cum)  0.63%
    771            4          4           ??? 
    772            7          7           ??? 
    773           27         27           ??? 

context.(*emptyCtx).Done

/usr/local/go/src/context/context.go

  Total:          22         23 (flat, cum)  0.38%
    184           22         23           ??? 

runtime.asyncPreempt

/usr/local/go/src/runtime/preempt_amd64.s

  Total:          13         13 (flat, cum)  0.22%
      8           13         13           ??? 

runtime.lockWithRank

/usr/local/go/src/runtime/lockrank_off.go

  Total:           7        872 (flat, cum) 14.55%
     22            7        872           ??? 

runtime.unlockWithRank

/usr/local/go/src/runtime/lockrank_off.go

  Total:           0       1034 (flat, cum) 17.25%
     32            .       1034           ??? 

runtime/internal/syscall.Syscall6

/usr/local/go/src/runtime/internal/syscall/asm_linux_amd64.s

  Total:           7          7 (flat, cum)  0.12%
     36            7          7           ??? 

internal/poll.runtime_pollSetDeadline

/usr/local/go/src/runtime/netpoll.go

  Total:           1          1 (flat, cum) 0.017%
    384            1          1           ???                                                                                                                            netpoll.go:650

runtime.(*pollDesc).makeArg

/usr/local/go/src/runtime/netpoll.go

  Total:           1          1 (flat, cum) 0.017%
    650            1          1           ??? 

github.com/rcrowley/go-metrics.(*StandardMeter).Mark

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/rcrowley/[email protected]/meter.go

  Total:           1          1 (flat, cum) 0.017%
    165            1          1           ??? 

io.ReadAtLeast

/usr/local/go/src/io/io.go

  Total:           0          4 (flat, cum) 0.067%
    332            .          4           ??? 

io.ReadFull

/usr/local/go/src/io/io.go

  Total:           0          4 (flat, cum) 0.067%
    351            .          4           ??? 

github.com/Shopify/sarama.withRecover

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/utils.go

  Total:           0          9 (flat, cum)  0.15%
     43            .          9           ??? 

github.com/Shopify/sarama.(*bufConn).Read

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/utils.go

  Total:           0          4 (flat, cum) 0.067%
    107            .          4           ??? 

syscall.Read

/usr/local/go/src/syscall/syscall_unix.go

  Total:           0          4 (flat, cum) 0.067%
    178            .          4           ??? 

syscall.Write

/usr/local/go/src/syscall/syscall_unix.go

  Total:           0          3 (flat, cum)  0.05%
    206            .          3           ??? 

syscall.Syscall

/usr/local/go/src/syscall/syscall_linux.go

  Total:           0          7 (flat, cum)  0.12%
     82            .          7           ??? 

internal/poll.(*FD).SetWriteDeadline

/usr/local/go/src/internal/poll/fd_poll_runtime.go

  Total:           0          1 (flat, cum) 0.017%
    143            .          1           ??? 

internal/poll.setDeadlineImpl

/usr/local/go/src/internal/poll/fd_poll_runtime.go

  Total:           0          1 (flat, cum) 0.017%
    161            .          1           ??? 

bufio.(*Reader).Read

/usr/local/go/src/bufio/bufio.go

  Total:           0          4 (flat, cum) 0.067%
    237            .          4           ??? 

github.com/Shopify/sarama.(*Broker).Fetch

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/broker.go

  Total:           0          5 (flat, cum) 0.083%
    503            .          5           ??? 

github.com/Shopify/sarama.(*Broker).readFull

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/broker.go

  Total:           0          4 (flat, cum) 0.067%
    932            .          4           ???                                                                                                                            io.go:351

github.com/Shopify/sarama.(*Broker).write

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/broker.go

  Total:           0          4 (flat, cum) 0.067%
    938            .          1           ??? 
    942            .          3           ??? 

github.com/Shopify/sarama.(*Broker).send

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/broker.go

  Total:           0          5 (flat, cum) 0.083%
    954            .          5           ??? 

github.com/Shopify/sarama.(*Broker).sendWithPromise

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/broker.go

  Total:           0          5 (flat, cum) 0.083%
    986            .          5           ??? 

github.com/Shopify/sarama.(*Broker).sendInternal

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/broker.go

  Total:           0          5 (flat, cum) 0.083%
   1004            .          4           ??? 
   1005            .          1           ??? 

github.com/Shopify/sarama.(*Broker).sendAndReceive

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/broker.go

  Total:           0          5 (flat, cum) 0.083%
   1034            .          5           ??? 

github.com/Shopify/sarama.(*Broker).responseReceiver

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/broker.go

  Total:           0          1 (flat, cum) 0.017%
   1131            .          1           ??? 

github.com/Shopify/sarama.(*Broker).responseReceiver

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/broker.go

  Total:           0          3 (flat, cum)  0.05%
   1158            .          3           ??? 

github.com/Shopify/sarama.(*Broker).updateOutgoingCommunicationMetrics

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/broker.go

  Total:           0          1 (flat, cum) 0.017%
   1607            .          1           ??? 

syscall.read

/usr/local/go/src/syscall/zsyscall_linux_amd64.go

  Total:           0          4 (flat, cum) 0.067%
    711            .          4           ??? 

syscall.write

/usr/local/go/src/syscall/zsyscall_linux_amd64.go

  Total:           0          3 (flat, cum)  0.05%
    939            .          3           ??? 

net.(*conn).Read

/usr/local/go/src/net/net.go

  Total:           0          4 (flat, cum) 0.067%
    183            .          4           ??? 

net.(*conn).Write

/usr/local/go/src/net/net.go

  Total:           0          3 (flat, cum)  0.05%
    195            .          3           ??? 

net.(*conn).SetWriteDeadline

/usr/local/go/src/net/net.go

  Total:           0          1 (flat, cum) 0.017%
    261            .          1           ???                                                                                                                            fd_posix.go:146
                                                                                                                           fd_poll_runtime.go:143

syscall.RawSyscall6

/usr/local/go/src/runtime/internal/syscall/syscall_linux.go

  Total:           0          7 (flat, cum)  0.12%
     38            .          7           ??? 

internal/poll.(*FD).Read

/usr/local/go/src/internal/poll/fd_unix.go

  Total:           0          4 (flat, cum) 0.067%
    163            .          4           ???                                                                                                                            fd_unix.go:794
                                                                                                                           syscall_unix.go:178

internal/poll.(*FD).Write

/usr/local/go/src/internal/poll/fd_unix.go

  Total:           0          3 (flat, cum)  0.05%
    383            .          3           ???                                                                                                                            fd_unix.go:794
                                                                                                                           syscall_unix.go:206

internal/poll.ignoringEINTRIO

/usr/local/go/src/internal/poll/fd_unix.go

  Total:           0          7 (flat, cum)  0.12%
    794            .          7           ???                                                                                                                            syscall_unix.go:178                                                                                 syscall_unix.go:206

net.(*netFD).Read

/usr/local/go/src/net/fd_posix.go

  Total:           0          4 (flat, cum) 0.067%
     55            .          4           ??? 

net.(*netFD).Write

/usr/local/go/src/net/fd_posix.go

  Total:           0          3 (flat, cum)  0.05%
     96            .          3           ??? 

net.(*netFD).SetWriteDeadline

/usr/local/go/src/net/fd_posix.go

  Total:           0          1 (flat, cum) 0.017%
    146            .          1           ???                                                                                                                            fd_poll_runtime.go:143

github.com/Shopify/sarama.(*brokerConsumer).subscriptionConsumer

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/consumer.go

  Total:           0          5 (flat, cum) 0.083%
    935            .          5           ??? 

github.com/Shopify/sarama.(*brokerConsumer).fetchNewMessages

/builds/p-clearing-system/clearing-cloud-v2/.go/pkg/mod/github.com/!shopify/[email protected]/consumer.go

  Total:           0          5 (flat, cum) 0.083%
   1111            .          5           ???