From 33318bf58ca1788ee13e4111a7940622f54eb2dd Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Wed, 30 Oct 2024 16:42:09 +0300 Subject: [PATCH] [#9999] node: Add off-cpu profiler Signed-off-by: Dmitrii Stepanov --- go.mod | 2 ++ go.sum | Bin 40890 -> 42276 bytes pkg/util/http/pprof.go | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/go.mod b/go.mod index aefe2889a..ba9ec375c 100644 --- a/go.mod +++ b/go.mod @@ -19,6 +19,7 @@ require ( github.com/cheggaaa/pb v1.0.29 github.com/chzyer/readline v1.5.1 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc + github.com/felixge/fgprof v0.9.5 github.com/flynn-archive/go-shlex v0.0.0-20150515145356-3f9db97f8568 github.com/gdamore/tcell/v2 v2.7.4 github.com/go-pkgz/expirable-cache/v3 v3.0.0 @@ -77,6 +78,7 @@ require ( github.com/go-logr/logr v1.4.2 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/golang/snappy v0.0.4 // indirect + github.com/google/pprof v0.0.0-20240227163752-401108e1b7e7 // indirect github.com/gorilla/websocket v1.5.1 // indirect github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.0.0 // indirect github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.1 // indirect diff --git a/go.sum b/go.sum index 4d44079d4a8bb1f6b4d287b026b80c10113131f8..a037a99afb2f1123c99b416fc3c8486d5733d022 100644 GIT binary patch delta 1238 zcma)*JCEa37>1=mS{TaF2!u39vl5F0R^sF1J1dGL<2Z?vIAdq**u`pncP75yon}M< ze;_R-JxJ+jmYQEdy}yEFFDQc+37zIt&-=aa_kO>>I{W3%v)|4y9;$#!B#Vpq zx&qz9>p%c;zyJs#2}!1dTQ1>HHbEH-i+XW4jO}Y5`;Hfa`xGdddq>=mt%bm}M~O?eD0|cHs$ox{+5CL7c10!Kmln z8o4mM)5l2Iq%u+HsUH^ncI!{`X!;-Qyv@sE_ZN1FY&`w%gjFRA5n#$p zZMm{(XmYMDxT-bHO@EznNp33IBhT)KfG2)iAwW1uHV{P8#2mkZHX~3fw;J?`a%E40 zoX`z@kr=H%o9+Co;hw!Z|K!1}jU4rhBJmx=K2C{s!3k7ErBzI`UZXHPBBg;#%JrX>Ku(t^Q*XR{8iYSWONCasKU z&eUcm%8g2?&NdXd`a{$@zpk)wY(9s0P!7N67okk(jqP$X+* zQ=__iPX%&tGsK59A-h8DE(cCV!`t2Bo68sfmwl3vwe?7(tuPMg{BljnRHX=5xN(51 zAVcHMpYxVYDU!^NH~T-nef{yS1E0=uKtcjzh{Mr!9K*B#%bFN4%oDEH&{-WTzU7vR zz>{Tbu%jH8n|qoYSAng>ZciQG6?|OQ`=8;{C$3}1k#{&e3r*}dHGY>51UP^gPA~-M z01J|UHn2nGPRp|nC!^MjP^@+RKE0AB6CoJtLV!*Xd$8zjqH=BUV(zbc`Tket`DdFr zTjxd;qsh8)g3u@||5%=X1ZfBXfD}o0ToafiNzkliJ16EM-P@XOKf`_hKGq|dq9P$1 qg?6dU6ALGzmX-u!OQNG0*kR(c{h7F;Kcc!|_v**#UjOOk7k>jC%#KR{ delta 73 zcmV-P0Ji_6$^yE-0