Skip to content

Commit 26d2b8a

Browse files
authored
ci: upgrade canbench to v0.1.13 (#303)
This PR upgrades canbench to v0.1.13 which allows to print a short benchmark summary with the link to uploaded CSV report file.
1 parent 06add50 commit 26d2b8a

File tree

7 files changed

+180
-293
lines changed

7 files changed

+180
-293
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ jobs:
117117
name: canbench_result_${{github.job}}
118118
path: /tmp/canbench_result_${{ github.job }}
119119

120+
- uses: actions/upload-artifact@v4
121+
with:
122+
name: canbench_results_${{github.job}}_csv
123+
path: /tmp/canbench_results_${{ github.job }}.csv
124+
120125
- name: Save PR number
121126
run: |
122127
echo ${{ github.event.number }} > /tmp/pr_number

Cargo.lock

Lines changed: 38 additions & 148 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ version = "0.6.8"
1414
[dependencies]
1515
ic_principal = { version = "0.1.1", default-features = false }
1616
# An optional dependency to benchmark parts of the code.
17-
canbench-rs = { version = "0.1.12", optional = true }
17+
canbench-rs = { version = "0.1.13", optional = true }
1818

1919
[dev-dependencies]
2020
candid.workspace = true

benchmarks/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
canbench-rs = "0.1.11"
9+
canbench-rs = "0.1.13"
1010
candid.workspace = true
1111
ic-cdk.workspace = true
1212
ic-cdk-macros.workspace = true

0 commit comments

Comments
 (0)