Skip to content

Add endpoint for single graph #1054

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

Merged
merged 2 commits into from
Oct 7, 2021
Merged

Conversation

rylev
Copy link
Member

@rylev rylev commented Oct 5, 2021

This adds a "/perf/graph" endpoint for getting the data to create a single graph (as opposed to "/perf/graphs" which is used for multiple graphs).

This endpoint sets the stage to be able to show single graphs for particular test cases in certain situations. For example, we may want to provide graphs on hover of particular test cases in the comparison page.

This also makes the existing "graphs" endpoint a GET request as this makes a bit more sense than it being a POST request (since the endpoint is for fetching data not creating it).

@rylev rylev requested a review from Mark-Simulacrum October 5, 2021 13:13
@rylev rylev force-pushed the single-graph-endpoint branch from 0df723d to a9e7bf3 Compare October 6, 2021 07:53
@rylev rylev merged commit 320e018 into rust-lang:master Oct 7, 2021
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.

2 participants