<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="63569" data-post-id="63569">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="belaustegui" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/belaustegui/120/36580_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  belaustegui
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>The new formatter is a wonderful addition. But the change I am most interested in is the improved <code>mix xref</code>.</p>
<p>I am working on a big Phoenix application, and compile times have reached a point when they are starting to get painful. Big recompilations are slow and frequent.</p>
<p>About a month ago I was able to use <code>mix xref</code> to introspect the module dependencies and improve compilation times slightly. This week I started to play with Elixir 1.6 RC and the new options have helped me to find much more issues that I could not see before.<br>
Introspecting the module dependencies on a big application is never an easy task, but with the new <code>mix xref</code> options it is somewhat easier to filter and select what you want to see.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="63569" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-v1-6-0-rc-0-released/11064/44">Post #43</a>
	                </div>
	            </div>
              <div id="likers-container-63569" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="63569"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #43"></div>
  </section>
</div>
    <div class="postbit" id="63570" data-post-id="63570">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="michalmuskala" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/michalmuskala/120/20288_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  michalmuskala
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>The thing that should help the most with big recompiles is that they will be prevented in many cases. Before 1.6 when a struct was used in a module, if the struct’s module was changed in any way, all the users were recompiled (since it produced a compile-time dependency).</p>
<p>In 1.6 the compiler tracks struct dependencies separately and only recompiles if the struct actually changed.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="63570" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-v1-6-0-rc-0-released/11064/45">Post #44</a>
	                </div>
	            </div>
              <div id="likers-container-63570" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="63570"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #44"></div>
  </section>
</div>
    <div class="postbit" id="63598" data-post-id="63598">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="josevalim" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/josevalim/120/1787_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  josevalim
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Elixir</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>We should probably start getting some data on this. <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p>
<p><strong>Folks that are trying Elixir v1.6-rc.0, please run this in your projects and paste the first four lines here</strong> and also let us know if it is a Phoenix/Ecto/Nerves project.</p>
<p>For example, on Phoenix itself:</p>
<pre><code>$ mix xref graph --format stats 
Tracked files: 67 (nodes)
Compile dependencies: 22 (edges)
Structs dependencies: 26 (edges)
Runtime dependencies: 83 (edges)
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="63598" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-v1-6-0-rc-0-released/11064/46">Post #45</a>
	                </div>
	            </div>
              <div id="likers-container-63598" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="63598"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #45"></div>
  </section>
</div>
    <div class="postbit" id="63599" data-post-id="63599">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="michalmuskala" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/michalmuskala/120/20288_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  michalmuskala
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Couple of phoenix projects:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Tracked files: 120 (nodes)
Compile dependencies: 199 (edges)
Structs dependencies: 55 (edges)
Runtime dependencies: 147 (edges)
</code></pre>
<pre data-code-wrap="elixir"><code class="lang-elixir">Tracked files: 110 (nodes)
Compile dependencies: 289 (edges)
Structs dependencies: 30 (edges)
Runtime dependencies: 215 (edges)
</code></pre>
<pre data-code-wrap="elixir"><code class="lang-elixir">Tracked files: 206 (nodes)
Compile dependencies: 308 (edges)
Structs dependencies: 85 (edges)
Runtime dependencies: 387 (edges)
</code></pre>
<pre data-code-wrap="elixir"><code class="lang-elixir">Tracked files: 193 (nodes)
Compile dependencies: 357 (edges)
Structs dependencies: 52 (edges)
Runtime dependencies: 354 (edges)
</code></pre>
<p>So, in some cases it’s about 12-25% of all compile + struct dependencies. And a huge amount of the compile dependencies are to the “web” module - even a half of them. Subtracting the Web module (which changes rarely), the struct dependencies are 22-36% of compile + struct dependencies.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="63599" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-v1-6-0-rc-0-released/11064/47">Post #46</a>
	                </div>
	            </div>
              <div id="likers-container-63599" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="63599"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #46"></div>
  </section>
</div>
    <div class="postbit" id="63601" data-post-id="63601">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Eiji" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Eiji/120/36743_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Eiji
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Two small <strong>Ecto</strong> + <strong>Phoenix</strong> projects:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Tracked files: 18 (nodes)
Compile dependencies: 12 (edges)
Structs dependencies: 8 (edges)
Runtime dependencies: 27 (edges)
</code></pre>
<pre data-code-wrap="elixir"><code class="lang-elixir">Tracked files: 18 (nodes)
Compile dependencies: 19 (edges)
Structs dependencies: 0 (edges)
Runtime dependencies: 17 (edges)
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="63601" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-v1-6-0-rc-0-released/11064/48">Post #47</a>
	                </div>
	            </div>
              <div id="likers-container-63601" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="63601"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #47"></div>
  </section>
</div>
    <div class="postbit" id="63604" data-post-id="63604">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="santif" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/santif/120/8315_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  santif
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Phoenix 1.2 project:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">$ mix xref graph --format stats
Tracked files: 298 (nodes)
Compile dependencies: 577 (edges)
Structs dependencies: 111 (edges)
Runtime dependencies: 561 (edges)
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="63604" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-v1-6-0-rc-0-released/11064/49">Post #48</a>
	                </div>
	            </div>
              <div id="likers-container-63604" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="63604"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #48"></div>
  </section>
</div>
    <div class="postbit" id="63634" data-post-id="63634">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="LostKobrakai" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/LostKobrakai/120/3072_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  LostKobrakai
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>A phoenix project (after some cleanup)</p>
<blockquote>
<p>Tracked files: 266 (nodes)<br>
Compile dependencies: 589 (edges) (down from 1006)<br>
Structs dependencies: 52 (edges)<br>
Runtime dependencies: 326 (edges)</p>
</blockquote> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="63634" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-v1-6-0-rc-0-released/11064/50">Post #49</a>
	                </div>
	            </div>
              <div id="likers-container-63634" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="63634"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #49"></div>
  </section>
</div>
    <div class="postbit" id="63710" data-post-id="63710">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="benwilson512" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/benwilson512/120/1457_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  benwilson512
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Author of Craft GraphQL APIs in Elixir with Absinthe</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Absinthe:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Tracked files: 216 (nodes)
Compile dependencies: 246 (edges)
Structs dependencies: 283 (edges)
Runtime dependencies: 609 (edges)
</code></pre>
<p>Large older Phoenix 1.2 app</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Tracked files: 257 (nodes)
Compile dependencies: 174 (edges)
Structs dependencies: 91 (edges)
Runtime dependencies: 776 (edges)
</code></pre>
<p>I gotta find a way to lower those compile time deps…</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="63710" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-v1-6-0-rc-0-released/11064/51">Post #50</a>
	                </div>
	            </div>
              <div id="likers-container-63710" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="63710"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #50"></div>
  </section>
</div>
    <div class="postbit" id="63714" data-post-id="63714">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="michalmuskala" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/michalmuskala/120/20288_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  michalmuskala
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>So I just checked ecto and got:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Tracked files: 67 (nodes)
Compile dependencies: 40 (edges)
Structs dependencies: 31 (edges)
Runtime dependencies: 170 (edges)
</code></pre>
<p>I find it interesting in comparison to Absinthe - both projects are of similar size (absinthe is almost 11k LOC, ecto is 12.7k LOC), yet the file structure seems widely different.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="63714" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-v1-6-0-rc-0-released/11064/52">Post #51</a>
	                </div>
	            </div>
              <div id="likers-container-63714" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="63714"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #51"></div>
  </section>
</div>
    <div class="postbit" id="63721" data-post-id="63721">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Ankhers" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Ankhers
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>mongodb</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Tracked files: 27 (nodes)
Compile dependencies: 12 (edges)
Structs dependencies: 11 (edges)
Runtime dependencies: 44 (edges)
</code></pre>
<p>Phoenix Project</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Tracked files: 54 (nodes)
Compile dependencies: 222 (edges)
Structs dependencies: 0 (edges)
Runtime dependencies: 13 (edges)
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="63721" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-v1-6-0-rc-0-released/11064/53">Post #52</a>
	                </div>
	            </div>
              <div id="likers-container-63721" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="63721"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #52"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/11064/load_more?page=6">Load more posts (7 remaining)</a>
</div></template></turbo-stream>