Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filters to runtime comparison tab #1650

Merged
merged 5 commits into from Jul 27, 2023
Merged

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Jul 12, 2023

Adds some basic filters to runtime benchmark table.

@Kobzol Kobzol force-pushed the runtime-ui-ext branch 2 times, most recently from 5c4e1c2 to 730b725 Compare July 26, 2023 07:31
@Kobzol Kobzol requested a review from lqd July 26, 2023 07:32
@lqd
Copy link
Member

lqd commented Jul 26, 2023

Apart from the couple tiny things discussed with jakub, this LGTM.

@Kobzol
Copy link
Contributor Author

Kobzol commented Jul 27, 2023

I resolved some of the comments, let me know what you think.

The filters are actually synchronized, because they share some name of properties. When the filter changes, the URL is updated, and then when a tab is changed, it reloads the filter from the URL.
This makes the select box in compare/runtime page more precise, and it also fills it with relevant data if only runtime entries are present in the DB (this is only relevant for local execution of the site).
This basically reverts c7f618f, and applies the quick link refresh logic also for the runtime tab. I didn't realize before that using JS for the links makes it impossible to quickly open multiple metrics in a new tab, which is quite useful.
@Kobzol Kobzol enabled auto-merge July 27, 2023 11:57
@Kobzol Kobzol merged commit ea914eb into rust-lang:master Jul 27, 2023
9 checks passed
@Kobzol Kobzol deleted the runtime-ui-ext branch July 27, 2023 12:06
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.

None yet

2 participants