Skip to content
项目

关于

A visual tool to help developers understand Elixir recompilation in their projects

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

DepViz

DepViz is a visual tool to understand Elixir recompilation.

It is accessible online at: https://depviz.jasonaxelson.com/

The intent is to help developers rapidly understand what compilation dependencies they have in their project. Then they can take steps to minimize them to reduce the feedback loop between writing code and seeing results.

Helps you answer questions about the Elixir code base:

  • Why when I change file A does it cause 100 files to recompile?
    • Investigate: What files will cause this file to recompile?
    • Investigate: What files does this file cause to recompile?

To better understand how to use DepViz and why recompilation happens check out my Code BEAM BR talk: https://www.codebeambr.com/video/12

Screenshots

Screenshot of Credo Screenshot of Credo while hovering over a node

FAQ

  • Is this usable with other graphs?
    • A: Not really, for example the graph algorithms needs to revisit the starting node if the starting node is itself part of a transitive compile time dependency chain

Running locally

To start the server:

  • Install dependencies with mix deps.get
  • Install Node.js dependencies with npm install inside the assets directory
  • Start Phoenix endpoint with mix phx.server

Now visit localhost:4040 from your browser.

探索相关项目

加载中…