Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This will result in tables that, in the ratio column, highlight slowdowns with red, and speedups with green. It smoothly transitions from one to the other. The brightest green is 10x speedup and brightest red is 10x slowdown.
@LilithHafner interested in your thoughts.
One concern I have is that this won't show up on GitHub, as far as I can tell, because it would print ANSI codes (since Julia thinks it is being displayed in terminal). So we would need separate styling for the GitHub markdown.
According to https://github.com/orgs/community/discussions/31570#discussioncomment-3571340 we can use LaTeX
\color
to get colors on GitHub. But it would mean there'd need to be an extra argument added for output parsing. Seems like it would preferable for that to be handled by StyledStrings but I guess we are GitHub-focused here already, so perhaps its fine to have this here.