[Add API] get_time_series - #7073
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
yangw-dev
commented
Sep 2, 2025
huydhn
reviewed
Sep 3, 2025
Contributor
|
Is there a curl command that I could use to get the data from the preview API? It would make the review easier to see what the time series data looks like |
huydhn
reviewed
Sep 3, 2025
huydhn
reviewed
Sep 3, 2025
| return path.split(".").reduce((o, key) => (o && key in o ? o[key] : ""), obj); | ||
| } | ||
|
|
||
| export type BenchmarkTimeSeriesResponse = { |
Contributor
There was a problem hiding this comment.
A curious question, do you know what is the relative size of BenchmarkTimeSeriesResponse when comparing with the raw result from ClickHouse? I want to confirm that BenchmarkTimeSeriesResponse is smaller
Contributor
Author
There was a problem hiding this comment.
it's much smaller, i think we should probably precompute those if we can.
but that is next step
Contributor
Author
There was a problem hiding this comment.
for a week's data
Tried it from postman app
url:
http://localhost:3000/api/benchmark/get_time_series
{
"name":"compiler_precompute",
"query_params":{
"commits": [],
"compilers": [],
"arch": "h100",
"device": "cuda",
"dtype": "bfloat16",
"granularity": "hour",
"mode": "inference",
"startTime":"2025-08-26T00:00:00",
"stopTime": "2025-09-03T23:00:00",
"suites": ["torchbench", "huggingface", "timm_models"],
"workflowId": 0,
"branches": ["main"]
}
}
time to query
can up to 40 seconds now
size compare
- BenchmarkTimeSeriesResponse: 13.29 KB
- raw data response is more than 1.17 MB
huydhn
reviewed
Sep 3, 2025
huydhn
reviewed
Sep 3, 2025
huydhn
approved these changes
Sep 3, 2025
yangw-dev
force-pushed
the
investigateCompiler
branch
from
September 3, 2025 19:57
9a82cb0 to
1fddd58
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add api to get benchmark data as timeseries
currently it only support request with name: compiler_precompute,
will add general cases once we set up for torchao
this will be used as end point of benchmark regression report