Upgrade to latest iai for summary output
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -142,7 +142,8 @@ jobs:
|
|||||||
cache-context: report
|
cache-context: report
|
||||||
- run: |
|
- run: |
|
||||||
cargo install cargo2junit --force
|
cargo install cargo2junit --force
|
||||||
cargo install iai-callgrind-runner --force --version `cargo metadata --format-version 1 | jq -r '.resolve.nodes[].id|split(" ")|select(.[0]=="iai-callgrind")|.[1]'`
|
# cargo install iai-callgrind-runner --force --version `cargo metadata --format-version 1 | jq -r '.resolve.nodes[].id|split(" ")|select(.[0]=="iai-callgrind")|.[1]'`
|
||||||
|
cargo install iai-callgrind-runner --force --git https://github.com/iai-callgrind/iai-callgrind --rev c77bc3c83d7f4e976cc42d4597236a8db259e772
|
||||||
sudo apt install valgrind -y
|
sudo apt install valgrind -y
|
||||||
|
|
||||||
- name: Test and report
|
- name: Test and report
|
||||||
@@ -163,7 +164,7 @@ jobs:
|
|||||||
|
|
||||||
- run: cargo build --all-targets --release
|
- run: cargo build --all-targets --release
|
||||||
- run: cargo test --bench setup --release
|
- run: cargo test --bench setup --release
|
||||||
- run: cargo bench --bench run_iai
|
- run: cargo bench --bench run_iai -- --save-summary=json
|
||||||
- run: cargo bench --bench run_criterion
|
- run: cargo bench --bench run_criterion
|
||||||
- run: cargo bench --bench run_criterion -- --profile-time 60
|
- run: cargo bench --bench run_criterion -- --profile-time 60
|
||||||
|
|
||||||
|
|||||||
13
Cargo.lock
generated
13
Cargo.lock
generated
@@ -1207,9 +1207,8 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "iai-callgrind"
|
name = "iai-callgrind"
|
||||||
version = "0.7.3"
|
version = "0.8.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "git+https://github.com/iai-callgrind/iai-callgrind.git?rev=c77bc3c83d7f4e976cc42d4597236a8db259e772#c77bc3c83d7f4e976cc42d4597236a8db259e772"
|
||||||
checksum = "2679de583a9f5232b45b1f3a31b5e2f739bccfee9b7902488aca8f8c2c5482d1"
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode",
|
"bincode",
|
||||||
"iai-callgrind-macros",
|
"iai-callgrind-macros",
|
||||||
@@ -1219,8 +1218,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "iai-callgrind-macros"
|
name = "iai-callgrind-macros"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "git+https://github.com/iai-callgrind/iai-callgrind.git?rev=c77bc3c83d7f4e976cc42d4597236a8db259e772#c77bc3c83d7f4e976cc42d4597236a8db259e772"
|
||||||
checksum = "af5af66b85e350097b8c0f6329c6347d3323d010443475741c29a1a167f116fb"
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro-error",
|
"proc-macro-error",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
@@ -1230,9 +1228,8 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "iai-callgrind-runner"
|
name = "iai-callgrind-runner"
|
||||||
version = "0.7.3"
|
version = "0.8.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "git+https://github.com/iai-callgrind/iai-callgrind.git?rev=c77bc3c83d7f4e976cc42d4597236a8db259e772#c77bc3c83d7f4e976cc42d4597236a8db259e772"
|
||||||
checksum = "12cc1093f263249d7c541c53849dac74f4ae756cd31e3cac1a12204efcec68bd"
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ assert_cmd = "1.0.3"
|
|||||||
predicates-core = "1.0.2"
|
predicates-core = "1.0.2"
|
||||||
maplit = "1.0.2"
|
maplit = "1.0.2"
|
||||||
serial_test = "2.0.0"
|
serial_test = "2.0.0"
|
||||||
iai-callgrind = "0.7.3"
|
iai-callgrind = { git = "https://github.com/iai-callgrind/iai-callgrind.git", rev = "c77bc3c83d7f4e976cc42d4597236a8db259e772" }
|
||||||
criterion = "0.5.1"
|
criterion = "0.5.1"
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
|
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
|
||||||
|
|||||||
Reference in New Issue
Block a user