You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to compare the PR's benchmark with the master one,
My ideia is: instead use a cache, to try something with:
- name: Get previous benchmark data
run: |
echo "Fetching gh-pages branch"
git fetch origin gh-pages
echo "Checking out gh-pages branch"
git checkout gh-pages
if [ ! -d "./cache" ]; then
echo "Cache folder does not exist, creating it"
mkdir ./cache
fi
echo "Copying data file from gh-pages to cache"
cp ./dev/bench/data.js ./cache/data.js || { echo "Failed to copy data file" ; exit 1; }
echo "Checking out main branch"
git checkout -
an then run the benchmark action with minimal setup, using this content as the json external file.
The text was updated successfully, but these errors were encountered:
RaulTrombin
changed the title
[Question/Ide
[Question/Idea] Is it possible to use gh-page data.js content as cached value?
Oct 25, 2023
@ktrz Hey,
I can't remember exatcly what was the issue,
But I think it was the cache, it could be erased with long times without using the actions,
then I've used the gh-page to store my previous results.
So the idea proposed was to use gh-page to store cache.
I would like to compare the PR's benchmark with the master one,
My ideia is: instead use a cache, to try something with:
an then run the benchmark action with minimal setup, using this content as the json external file.
The text was updated successfully, but these errors were encountered: