Skip to content

Commit

Permalink
Including documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jcamachor committed Feb 13, 2024
1 parent dde452c commit cb14c11
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
31 changes: 31 additions & 0 deletions metrics/app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!--
{% comment %}
Copyright (c) Microsoft Corporation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
-->

# LST-Bench: Dashboard

**Dashboard:** [https://lst-bench.azurewebsites.net/](https://lst-bench.azurewebsites.net/)

The LST-Bench dashboard is powered by [Streamlit](https://github.com/streamlit/streamlit) and deployed to Azure App Service through GitHub actions.
You can find the deployment workflow [here](../../.github/workflows/webapp-deploy.yaml).
The dashboard provides insights derived from metrics collected from LST-Bench, including execution time and degradation rate.
Further details about the runs and setups are available [here](../../run).

## Adding a New Result
To include data from a new system, duplicate one of the directories in the [run folder](../../run) and modify the necessary files within.
For a deeper understanding of the directory structure, consult the [README file](../../run/README.md).
The LST-Bench dashboard web app automatically retrieves results from the .duckdb files within those folders and displays them on the dashboard.
2 changes: 1 addition & 1 deletion metrics/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def get_experiments_data(experiments_df: pd.DataFrame, target_granularity: str)
st.title('LST-Bench - Dashboard')
st.write("[Project Page](https://github.com/microsoft/lst-bench/) | "
"[Technical Report](https://arxiv.org/abs/2305.01120) | "
"Add a System")
"[Add a System](https://github.com/microsoft/lst-bench/tree/main/metrics/app#adding-a-new-result)")

workloads = get_workloads()
workload_selected = st.sidebar.selectbox('Workload', workloads, index=0)
Expand Down
19 changes: 19 additions & 0 deletions run/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!--
{% comment %}
Copyright (c) Microsoft Corporation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
-->

# TODO

0 comments on commit cb14c11

Please sign in to comment.