Shopify / seafoam

A tool for working with compiler graphs dumped by the GraalVM compiler
MIT License
126 stars 22 forks source link

Add a graph diff tool #12

Closed chrisseaton closed 2 years ago

chrisseaton commented 3 years ago

I want to be able to do

% seafoam examples/diff/added-truffle-profile-before.bgv.gz:4 render --diff examples/diff/added-truffle-profile-after.bgv.gz:4

And see nodes that haven't changed greyed out, removed nodes in red, added nodes in green, like a source code diff.

Example graph and start of implementation in https://github.com/Shopify/seafoam/tree/diff.

chrisseaton commented 2 years ago

Trying not to have speculative issues.