Skip to content

Commit a309517

Browse files
committed
Put notebook link url
1 parent 186d7d4 commit a309517

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎.github/workflows/benchmark.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,7 @@ jobs:
5656
- name: Upload results
5757
run: |
5858
url=$(curl --fail --silent --show-error -F "file=@benchmark.json" https://x0.at/)
59-
echo "::notice title=Benchmark ${{ matrix.sys.name }}::${url}"
60-
echo "Benchmark ${{ matrix.sys.name }}: ${url}" >> "${GITHUB_STEP_SUMMARY}"
59+
sha="${{ github.event.pull_request.head.sha || github.sha }}"
60+
link="https://notebook.link/github/${{ github.repository }}/commit/${sha::7}/specta/?path=benchmark/analyzer/analyzer.ipynb&url=${url}"
61+
echo "::notice title=Benchmark ${{ matrix.sys.name }}::${link}"
62+
echo "[Benchmark ${{ matrix.sys.name }}](${link})" >> "${GITHUB_STEP_SUMMARY}"

‎benchmark/analyzer/analyzer.ipynb‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"\n",
1414
"ui.PatternPlots(\n",
1515
" params={\n",
16-
" \"url\": \"https://x0.at/uM5y.json\",\n",
1716
" \"patterns\": {\n",
1817
" \"Map Unary\": r\"^(?<arch>[^/]+)/(?<op>[^/]+)/(?<dtype>[a-z0-9]+)/(?<alignment>[^/]+)/(?<impl>[^/]+)/(?<size>\\d+)$\",\n",
1918
" \"Map Binary\": r\"^(?<arch>[^/]+)/(?<op>[^/]+)/(?<dtype>[a-z0-9]+_[a-z0-9]+)/(?<alignment>[^/]+)/(?<impl>[^/]+)/(?<size>\\d+)$\",\n",

0 commit comments

Comments
 (0)