Skip to content

Add a script to plot a stacked bar graph of each cluster's members - #327

Open
fitzgen wants to merge 4 commits into
bytecodealliance:mainfrom
fitzgen:plot-clusters
Open

Add a script to plot a stacked bar graph of each cluster's members#327
fitzgen wants to merge 4 commits into
bytecodealliance:mainfrom
fitzgen:plot-clusters

Conversation

@fitzgen

@fitzgen fitzgen commented Jul 22, 2026

Copy link
Copy Markdown
Member

This is halfway throwaway code, but I do want to keep it around for if/when we redo PCA on our complete benchmark suite again sometime in the future and so I don't have to remember which machine and which branch I have it on when I need to run it again.

Plots a stacked bar graph for each benchmark in each cluster of (a) the Wasm instructions retired during execution and (b) the native instructions retired during compilation. Benchmarks that read input via WASI are bold and fully saturated; those that have non-WASI, hard-coded inputs are non-bold and desaturated.

Example cluster plot output:

cluster-7

@fitzgen
fitzgen requested a review from posborne July 22, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant