servo/etc
Simon Sapin d2041e5b47 Add a minimal alternative to cargo graph
I tried `cargo graph` and some of its successors,
but didn’t manage to make them produce what I wanted
(or in some cases make them work at all.)

This Python script reimplements similar functionality
based on parsing the (JSON) output of `cargo metadata`.

Graphviz graphs can become hard to read very quickly as the number of nodes grows.
Servo’s dependency graph is very large, so pruning as much as possible is important.
This only shows `path` dependencies (that have their source in this repo),
and can take a parameter to only show recursive dependencies of a given crate.

See https://github.com/servo/servo/issues/19422#issuecomment-617038366 for an example.

I find that `xdot` is best for visualization since it is interactive.

This script is not used by anything.
I am making this PR only so that we have it somewhere
in case it becomes useful again at some point.
2020-04-21 10:54:21 +02:00
..
ci Reuse layout-2013 WPT results with layout-2020 when syncing. 2020-03-19 10:47:26 -04:00
doc.servo.org Update MPL license to https (part 1) 2018-11-19 14:46:43 +01:00
layout-2020-regressions Add Layout 2020 reftests regression report 2020-03-20 19:45:50 +01:00
layout_viewer Keep layout viewer versions for both 2013 and 2020 engines 2020-02-21 11:11:01 +01:00
taskcluster Propagate pipe failure. 2020-04-20 12:02:41 -04:00
cert_generator.js Update cert-generator and certs 2017-03-14 08:01:54 -07:00
cert_generator.sh Apply format change to cert_generator.sh 2019-05-08 19:24:32 +02:00
crates-graph.py Add a minimal alternative to cargo graph 2020-04-21 10:54:21 +02:00
jsdefine Cargoify servo 2014-09-08 20:21:42 -06:00
memory_chart.html Add tool to chart memory usage from reports. 2018-03-08 22:46:42 -05:00
memory_reports_over_time.py Fix tidiness errors for Python3 compatibility across whole repo 2019-12-11 16:03:20 +00:00
patch-trace-template.py profile: Integrate the time profiler with the macOS signpost 2016-10-01 00:12:49 -07:00
profilicate.py Add a sampling profiler and a script to generate profiles for use with Gecko tooling. 2019-03-26 16:35:08 -04:00
run_in_headless_android_emulator.py com.mozilla to org.mozilla 2018-10-02 08:09:35 +02:00
rustdoc-style.html Cargoify servo 2014-09-08 20:21:42 -06:00
rustdoc-with-private Upgrade to rustc 1.41.0-nightly (7afe6d9d1 2019-12-03) 2019-12-04 12:29:17 +01:00
servo.sb Cargoify servo 2014-09-08 20:21:42 -06:00
servo_automation_screenshot.py Automation Script to take screenshot for servo 2018-04-27 14:05:32 -04:00
servo_gdb.py Add flake8 to the tidy process for Python files 2015-06-04 11:17:34 -04:00
start_servo.py Update getopts 2018-08-24 17:49:58 +02:00
unused_wpt_results.py Add script to find unused WPT results. 2019-09-25 12:38:00 -04:00
valgrind-memcheck.supp Add a valgrind suppression file. 2015-12-17 10:36:03 -06:00
wpt-summarize.py Fix visual indent error. 2019-11-22 14:34:26 -05:00
wpt-timing.py Add explanatory comment to wpt-timing.py. 2019-11-22 13:19:28 -05:00
wpt_result_analyzer.py Add explanatory comment for wpt_result_analyzer.py. 2019-11-22 13:23:43 -05:00