Update Benchmark CI to use another repo #464
Merged
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.
Description
Now benchmark CI pushes the results to another repo to keep track of benchmark history and to keep the main repo clean
Changelog
Download the previous benchmark results removed as we do not need cache anymore as we compare with previous results from the other repo
Output directory changed as when it was /bench/matrix.os, the benchmark action will search for previous results in /bench directory, although we store them directly on the repo using matrix.os in order to access them using metacall.github.io/benchmarks/ubuntu-latest not metacall.github.io/benchmarks/bench/ubuntu-latest
Add github-token to allow the action pull the specified repo
Remove skip-fetch-gh-pages to allow the action fetching the specified repo and compare with the previous results
You will need to replace any occurrence of ahmedihabb2/benchmarks with the Metacall benchmarks repo that we will store benchmarks results in it.
Create Private Access token