ããã«ã¡ããããããã§ããä»æ¥ã¯goroutineã®å®è¡ç¶æ³ããããããã«å¯è¦åãããã¼ã«ã®è©±ã§ãã goã®ãããã¡ã¤ãªã³ã°ãã¼ã«ã¨è¨ãã°ã runtime/pprof ã net/http/pprof ã§ãããããããã®ä½¿ãæ¹ã¯ã°ã°ãã°ããã«åºã¦ããã®ã§ããã 詳細ãªtraceãåå¾ãã¦å¯è¦åã§ãã runtime/trace ã«ã¤ãã¦ã¯ãæ¥æ¬èªã®æ å ±ãæ®ã©ç¡ãã®ã§æ¸ãã¦ã¿ã¾ããããã runtime/trace ã¯goroutineã®å®è¡ç¶æ³ãsystem callã®ã¤ãã³ããHeapãnetworkã®ç¶æ³ããããªæãã«å¯è¦åãã¦ãããã®ã§ä¾¿å©ã§ãã ããã¯èªä½ã®ã¯ãã¼ã©ã¼ãåããã¦ããéã®traceãå¯è¦åãããã®ã§ã横軸ãã¿ã¤ã ã©ã¤ã³ã«ãªã£ã¦ãããä¸æ®µã« Heapã®ä½¿ç¨ç¶æ³ãgoroutineã¨os threadã®æ°ã, ä¸æ®µã¯networkãProccesor(GOMAXPROC
{{#tags}}- {{label}}
{{/tags}}