tree: c607fc2f3b743f1ce888403ae12c46ddb58cf374 [path history] [tgz]
  1. src/
  2. www/
  3. .gitignore
  4. build-package.mjs
  5. build-www.mjs
  6. bun.lock
  7. LICENSE
  8. package.json
  9. README.md
  10. tsconfig.json
Tools/IonGraph/README.md

IonGraph

JavaScriptCore visualizer for control flow graph. Forked version of iongraph, an interactive visualizer for the SpiderMonkey Ion compiler backend.

Main differences are,

  1. Because JSC‘s graph are irreducible in many cases, we are using traditional layout mechanism, and incorporating iongraph’s better layout heuristics into it.
  2. loop header, backedge etc. are computed in the visualizer side, so graph JSON does not need to include them. Sometimes, JSC graph is not ready to generate this information from C++ because predecessors are not set up yet.
  3. Make it work without using ES6 modules for dist-www built version so that we can just use it by opening a local HTML file without a server.

Developing

To run the viewer locally:

bun install
bun run serve