Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI
on: [pull_request]

env:
RUST_VERSION: 1.86.0
RUST_VERSION: 1.93.1
CARGO_TERM_COLOR: always # Force Cargo to use colors
TERM: xterm-256color

Expand Down
91 changes: 40 additions & 51 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ members = [
resolver = "2"

[workspace.dependencies]
candid = "0.10.20"
candid = "0.10.27"
clap = { version = "4.5.53", features = ["derive"] }
colored = "3.0.0"
flate2 = "1.1.5"
hex = "0.4.3"
ic-cdk = "0.19.0"
ic-cdk = "0.20.1"
proc-macro2 = "1.0.103"
quote = "1.0.42"
reqwest = { version = "0.12.24", features = [
Expand Down
2 changes: 1 addition & 1 deletion canbench-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ inferno = { version = "0.11", default-features = false, features = [
] }
# `pocket-ic` should be pinned to an exact version so that the PocketIC server binary version
# `POCKET_IC_SERVER_VERSION` defined in `canbench-bin/src/lib.rs` is compatible.
pocket-ic = "=10.0.0"
pocket-ic = "=13.0.0"
reqwest.workspace = true
rustc-demangle.workspace = true
semver.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions canbench-bin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ use wasmparser::Parser as WasmParser;
// Other queries exposed by the canister are ignored.
const BENCH_PREFIX: &str = "__canbench__";

const POCKET_IC_SERVER_VERSION: &str = "10.0.0";
const POCKET_IC_SERVER_VERSION: &str = "13.0.0";
const POCKET_IC_LINUX_SHA: &str =
"bfc17d1acad243841121eee5347dd7453e0d8a8f8f6e090c261fae17523c3144";
const POCKET_IC_MAC_SHA: &str = "fb4a30d3d076411ea9b40f5219d75014ffa05465807c1d32fe86cda481133c65";
"b19a15ba0650a3987e78a8017dee0e99c5518194d1e0c4fd45b53cd32598544e";
const POCKET_IC_MAC_SHA: &str = "2e38d2266865ae285d612bd533675073d11d0cb77b8365c203431af753ce930e";

/// The maximum number of rows to display in the summary table.
const MAX_DISPLAYED_ROWS: usize = 50;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Benchmark: write_stable_memory (new)
total:
instructions: 49.11 K (new)
instructions: 49.12 K (new)
heap_increase: 0 pages (new)
stable_memory_increase: 1 pages (new)
Instruction traces written to write_stable_memory.svg
Expand Down Expand Up @@ -33,7 +33,7 @@ Summary:
Only significant changes:
| status | name | calls | ins | ins Δ% | HI | HI Δ% | SMI | SMI Δ% |
|--------|---------------------|-------|--------|---------|----|--------|-----|---------|
| new | write_stable_memory | | 49.11K | | 0 | | 1 | |
| new | write_stable_memory | | 49.12K | | 0 | | 1 | |

ins = instructions, HI = heap_increase, SMI = stable_memory_increase, Δ% = percent change

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Summary:
instructions:
status: Improvements detected 🟢
counts: [total 1 | regressed 0 | improved 1 | new 0 | unchanged 0]
change: [max -154.23K | p75 -154.23K | median -154.23K | p25 -154.23K | min -154.23K]
change: [max -154.22K | p75 -154.22K | median -154.22K | p25 -154.22K | min -154.22K]
change %: [max -4.36% | p75 -4.36% | median -4.36% | p25 -4.36% | min -4.36%]

heap_increase:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Summary:
instructions:
status: No significant changes 👍
counts: [total 1 | regressed 0 | improved 0 | new 0 | unchanged 1]
change: [max -154.23K | p75 -154.23K | median -154.23K | p25 -154.23K | min -154.23K]
change: [max -154.22K | p75 -154.22K | median -154.22K | p25 -154.22K | min -154.22K]
change %: [max -4.36% | p75 -4.36% | median -4.36% | p25 -4.36% | min -4.36%]

heap_increase:
Expand Down
4 changes: 2 additions & 2 deletions canbench-bin/tests/expected/benchmark_stable_writes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Benchmark: write_stable_memory (new)
total:
instructions: 49.11 K (new)
instructions: 49.12 K (new)
heap_increase: 0 pages (new)
stable_memory_increase: 1 pages (new)

Expand Down Expand Up @@ -32,7 +32,7 @@ Summary:
Only significant changes:
| status | name | calls | ins | ins Δ% | HI | HI Δ% | SMI | SMI Δ% |
|--------|---------------------|-------|--------|---------|----|--------|-----|---------|
| new | write_stable_memory | | 49.11K | | 0 | | 1 | |
| new | write_stable_memory | | 49.12K | | 0 | | 1 | |

ins = instructions, HI = heap_increase, SMI = stable_memory_increase, Δ% = percent change

Expand Down
Loading
Loading