<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hirasho0</author_name>
  <author_url>https://blog.hatena.ne.jp/hirasho0/</author_url>
  <blog_title>KAYAC Engineers' Blog</blog_title>
  <blog_url>https://techblog.kayac.com/</blog_url>
  <categories>
    <anon>unity</anon>
    <anon>unity-debug</anon>
  </categories>
  <description>こんにちは。技術部平山です。 Debug.Logにかかる時間が コールスタックの深さに影響される、というお話で、結論はそれで全てです。 深い所でDebug.Logすると重くなります。 大した話ではないので、ヒマでない方は読む必要はありません。 何この重さ?尋常じゃないよ? 先日負荷が重い状況があって調べていたところ、 重いのはDebug.Logだ、ということがわかりました。 「そんなの重いに決まってるじゃないか」 誰だってそう思うと思うのですが、その負荷が尋常でなく、プロファイラで見ると 5ms以上、GCAllocのサイズは100KBに近い状況でした。 エディタでその時間かかっているとなると、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.kayac.com%2Funity-debug-log-in-deep-call-stack&quot; title=&quot;UnityのDebug.Logの負荷とコールスタックの深さ - KAYAC Engineers&amp;#39; 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/h/hirasho0/20191115/20191115150921.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-18 08:00:00</published>
  <title>UnityのDebug.Logの負荷とコールスタックの深さ</title>
  <type>rich</type>
  <url>https://techblog.kayac.com/unity-debug-log-in-deep-call-stack</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
