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

VueJS SPA #2

Merged
merged 86 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from 78 commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
2a94df6
Remove the statically generated HTML pages.
Akirathan Jun 4, 2024
899cfbe
Add .gitignore
Akirathan Jun 4, 2024
3b53aec
Init vite vue
Akirathan Jun 4, 2024
943576b
Add construct_index.py helper script
Akirathan Jun 4, 2024
3623018
Create cache/index.json
Akirathan Jun 4, 2024
e58f346
Add .vscode dir
Akirathan Jun 4, 2024
8511df4
Remove styles.css from vite template
Akirathan Jun 4, 2024
b68ce34
example startDate and endDate is current from 05/2024
Akirathan Jun 4, 2024
2c649a5
Update README
Akirathan Jun 4, 2024
cd94866
Merge branch 'main' into vue
Akirathan Jun 4, 2024
7d31c52
Regenerate cache/index.json
Akirathan Jun 4, 2024
6403af8
Update README
Akirathan Jun 6, 2024
ff452ad
Add cache schema and validation
Akirathan Jun 6, 2024
1edb99c
Ensure cache is valid before generating the website
Akirathan Jun 6, 2024
94a2cd4
Add schema version
Akirathan Jun 6, 2024
92ccdc0
Add schema directory
Akirathan Jun 6, 2024
ef8aae5
Add schema version 2.0
Akirathan Jun 17, 2024
dfa75ba
Add schema CHANGELOG
Akirathan Jun 17, 2024
6c1048d
Configure fs-server as vite plugin
Akirathan Jun 17, 2024
5852d6e
vuetify is a vite-plugin
Akirathan Jun 17, 2024
f8e0b92
Display a simple bench graph
Akirathan Jun 18, 2024
e3807b7
Install linter and prettier
Akirathan Jun 18, 2024
8006877
format
Akirathan Jun 18, 2024
c8fa79f
Implement DatapointStore.findDataPointsByLabel
Akirathan Jun 18, 2024
7730893
BenchFilter is initialized with selected startDate and endDate
Akirathan Jun 18, 2024
d5d3f68
DEFAULT_DAYS_TO_FETCH is an env constant
Akirathan Jun 18, 2024
725f5b7
Display data for all labels
Akirathan Jun 18, 2024
02946db
File fetching is asynchronous
Akirathan Jun 19, 2024
a64e61a
Do not store duplicate data
Akirathan Jun 20, 2024
fb5719b
Implement updateBenchData
Akirathan Jun 20, 2024
2ab910a
Ensure datapoints are not duplicated in the store
Akirathan Jun 20, 2024
e0e225f
BenchGraph has min and max date on x axis
Akirathan Jun 20, 2024
a2a0e24
Display only MAX_LABELS on MainPage
Akirathan Jun 20, 2024
96b40d0
Fix commit message selection
Akirathan Jun 20, 2024
656fbc3
fmt
Akirathan Jun 20, 2024
5e895f1
maxDate is fixed to 2024-06-01
Akirathan Jul 1, 2024
b311907
Add space between graph and selection details
Akirathan Jul 1, 2024
86a3f00
Add benchRunURL to selection
Akirathan Jul 3, 2024
1cf2b0e
Add filter by labels (classes)
Akirathan Jul 3, 2024
128d36e
Link in bench run URL is displayed only if some elemnt is selected
Akirathan Jul 3, 2024
59a3d1f
Selected element is emphasized
Akirathan Jul 3, 2024
b863243
MainPage contains only BenchSearch
Akirathan Jul 11, 2024
115043c
BenchGraphs loads all graphs
Akirathan Jul 14, 2024
e1a0125
Remove unused variables from MainPage
Akirathan Jul 14, 2024
5133df2
fmt
Akirathan Jul 14, 2024
2773648
Add BenchmarksInfo
Akirathan Jul 17, 2024
353281e
Display list of benchmarks that violate six-sigma
Akirathan Jul 19, 2024
8226a53
datapointStore stores points by label
Akirathan Jul 19, 2024
c6046bf
updateBenchData is not async
Akirathan Jul 22, 2024
27d8836
startDate and endDate is provided as route
Akirathan Jul 22, 2024
c5836dc
Fix type error in BenchGraph
Akirathan Sep 15, 2024
40b3c96
Fix display of BenchGraph is too small
Akirathan Nov 7, 2024
af60c49
Add some docs to README
Akirathan Nov 7, 2024
e9d8fed
Spaces between BenchGraph
Akirathan Nov 7, 2024
56150fa
Remove construct_index.py script.
Akirathan Feb 13, 2025
ef6f221
Revert "startDate and endDate is provided as route"
Akirathan Feb 13, 2025
42b5e8f
Remove local index.json
Akirathan Feb 13, 2025
1a065e7
Merge branch 'main' into vue
Akirathan Feb 13, 2025
57f1ea1
fmt
Akirathan Feb 13, 2025
00441bc
Label filtering by Engine benchmarks
Akirathan Feb 13, 2025
651dfe9
Refactor some stores to use HashMaps for better performance
Akirathan Feb 13, 2025
47c7d4d
Process single file is async
Akirathan Feb 13, 2025
7a450b4
Introduce cacheFileStore
Akirathan Feb 13, 2025
ff2d2ca
Add functionality to display all engine benchmarks and refactor label…
Akirathan Feb 13, 2025
d87a3e3
Label selection is handled by BenchSearch component
Akirathan Feb 13, 2025
70029f9
Use light red color for the clear selection button
Akirathan Feb 13, 2025
3b4a45a
Pinia stores are used only in setup section of a component
Akirathan Feb 13, 2025
4daaff0
Remove assert from addDatapoint.
Akirathan Feb 13, 2025
597dc9a
Revert "Pinia stores are used only in setup section of a component"
Akirathan Feb 13, 2025
9510d8d
fmt
Akirathan Feb 13, 2025
3a43e9b
BenchmarkGraph is wider
Akirathan Feb 14, 2025
dcd610b
fmt
Akirathan Feb 14, 2025
b2c3112
datapoints are sorted by datetime
Akirathan Feb 14, 2025
cc8db86
BenchGraphs reacts on changes on dates and labels
Akirathan Feb 14, 2025
d5c4c22
Use console.debug instead of console.log
Akirathan Feb 14, 2025
80c85f0
Unify handling of new props changed on BenchGraphs
Akirathan Feb 14, 2025
e627161
Clear selection when props changed
Akirathan Feb 14, 2025
b4be7b6
Add docs
Akirathan Feb 14, 2025
2908e5f
Add gh-pages workflow
Akirathan Feb 17, 2025
44d7ce8
Update vite-config.
Akirathan Feb 17, 2025
f3be7aa
Set MIN_DATE globally
Akirathan Feb 17, 2025
69d61b7
Update docs
Akirathan Feb 17, 2025
c61396e
Merge branch 'main' into vue
Akirathan Feb 17, 2025
4e9f6bf
Keep the old static websites deployed
Akirathan Feb 17, 2025
f1cd95f
Update version in schema
Akirathan Feb 17, 2025
04ae452
Links to old benchmarks are at the bottom of the page
Akirathan Feb 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
11 changes: 11 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"plugins": ["prettier-plugin-organize-imports"],
"semi": false,
"tabWidth": 2,
"singleQuote": true,
"printWidth": 100,
"trailingComma": "all",
"organizeImportsSkipDestructiveCodeActions": true,
"experimentalTernaries": true
}
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["Vue.volar"]
}
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Stdlib and Engine benchmark results
This repository hosts results from benchmarks from the [enso repo](https://github.com/enso-org/enso).
This repo has GH pages enabled and hosts them at [https://enso-org.github.io/engine-benchmark-results/](https://enso-org.github.io/engine-benchmark-results/).
It is a VueJS single-page-application.

## Data
The benchmarks are scheduled in [Benchmark Engine](https://github.com/enso-org/enso/actions/workflows/engine-benchmark.yml)
and [Benchmark Standard Libraries](https://github.com/enso-org/enso/actions/workflows/std-libs-benchmark.yml) GH Actions.
The results from these actions are gathered by another GH Action [Benchmarks Upload](https://github.com/enso-org/enso/actions/workflows/bench-upload.yml)
Expand All @@ -11,7 +13,24 @@ There is a special `cache/index.json` file that maps json file names to their ti

The `Benchmarks Upload` actions the runs [website_regen.py](https://github.com/enso-org/enso/blob/develop/tools/performance/engine-benchmarks/website_regen.py) script.

For more info, see:
## Contributing
Run the dev server with `npm install && npx vite`.


### Building static sites from Vue
Run `npm run build` to build the static site.
The output will be in the `dist` directory.

## Technology stack
- [Vue-chartjs](https://vue-chartjs.org/)
- For plotting
- [Pinia](https://pinia.vuejs.org/)
- For global state management
- [Vuetify](https://vuetifyjs.com/en/)
- Material component library for Vue

## References
- [enso-org/enso:tools/performance/engine-benchmarks](https://github.com/enso-org/enso/blob/develop/tools/performance/engine-benchmarks/README.md)
- This is a directory with Python package that deals with benchmarks - regenerate HTML website, gather results from GH artifacts and upload them to this repo, etc.
- This is a directory with Python package that deals with benchmarks - regenerate HTML website, gather results from GH artifacts and upload them to this repo, etc.
- [enso-org/enso:docs/infrastructure/benchmarks.md](https://github.com/enso-org/enso/blob/develop/docs/infrastructure/benchmarks.md#visualization)
- https://mkay11.medium.com/how-to-deploy-your-vite-vue-3-application-in-github-pages-2023-2b842f50576a
Loading