<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xuwei</author_name>
  <author_url>https://blog.hatena.ne.jp/xuwei/</author_url>
  <blog_title>xuwei-k's blog</blog_title>
  <blog_url>https://xuwei-k.hatenablog.com/</blog_url>
  <categories>
    <anon>scala</anon>
    <anon>dotty</anon>
    <anon>inline</anon>
    <anon>macro</anon>
    <anon>sbt</anon>
  </categories>
  <description>概要や結論を先に書いておくと、適切にプロファイルを取って、適切にボトルネック箇所を見つけて対処しましょう。 という話になるのですが、大まかな概要というか、結果的に使った方法を書くと sbtのTask毎の時間を記録する機能を使う Scala 3 compilerのログを多めに出してphase毎の時間を出す Scala 3のcompiler pluginを書いて特に時間がかかっているファイルを見つけ出す 普通のinlineやsummonFromだけで書いていたものを、あえてQuotes使ったlow level macroに書き換えて、compile time debugする 遅い原因となったins…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxuwei-k.hatenablog.com%2Fentry%2F2022%2F03%2F30%2F142529&quot; title=&quot;Scala 3のinlineによるcompile時間増大に対処する方法 - xuwei-k&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-03-30 14:25:29</published>
  <title>Scala 3のinlineによるcompile時間増大に対処する方法</title>
  <type>rich</type>
  <url>https://xuwei-k.hatenablog.com/entry/2022/03/30/142529</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
