<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rennnosukesann</author_name>
  <author_url>https://blog.hatena.ne.jp/rennnosukesann/</author_url>
  <blog_title>Ren's blog</blog_title>
  <blog_url>https://rennnosukesann.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>Goの pprof を使うにあたり、調べた内容をメモしました。 Goプロファイリング手順 Goのプロファイリングは大きく以下の2工程に分けられます。 計測（pprofバイナリを作成） 出力（pprofバイナリを可視化） 1. 計測 Goバイナリを実行したときのCPU・メモリ等に対するプロファイリング結果を取得します。 ◆ runtime/pprof で計測する pkg.go.dev runtime/pprof パッケージをコード側で参照して計測します。 例えばCPUのプロファイル結果取得には runtime.StartCPUProfile が、（ヒープ）メモリのプロファイル結果取得には run…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frennnosukesann.hatenablog.com%2Fentry%2F2022%2F03%2F21%2F160233&quot; title=&quot;【Go】pprofを使用したプロファイリングと可視化 - Ren&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/r/rennnosukesann/20220321/20220321154026.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-03-21 16:02:33</published>
  <title>【Go】pprofを使用したプロファイリングと可視化</title>
  <type>rich</type>
  <url>https://rennnosukesann.hatenablog.com/entry/2022/03/21/160233</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
