Skip to content

Commit 2b3a804

Browse files
committed
Update iai runner in workflow
1 parent 0143017 commit 2b3a804

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.github/workflows/comment-profiling-changes.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
uses: actions/cache@v4
3535
with:
3636
path: ~/.cargo/bin/iai-callgrind-runner
37-
key: ${{ runner.os }}-iai-callgrind-runner-0.12.3
37+
key: ${{ runner.os }}-iai-callgrind-runner-0.16.1
3838

3939
- name: Install iai-callgrind
4040
if: steps.cache-iai.outputs.cache-hit != 'true'
4141
run: |
42-
cargo install iai-callgrind-runner@0.12.3
42+
cargo install iai-callgrind-runner@0.16.1
4343
4444
- name: Checkout master branch
4545
run: |

node-graph/interpreted-executor/benches/run_cached_iai.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ mod benchmark_util;
22

33
use benchmark_util::setup_network;
44
use graphene_std::application_io::RenderConfig;
5-
use iai_callgrind::{black_box, library_benchmark, library_benchmark_group, main};
5+
use iai_callgrind::{library_benchmark, library_benchmark_group, main};
66
use interpreted_executor::dynamic_executor::DynamicExecutor;
7+
use std::hint::black_box;
78

89
fn setup_run_cached(name: &str) -> DynamicExecutor {
910
let (executor, _) = setup_network(name);

node-graph/interpreted-executor/benches/run_once_iai.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ mod benchmark_util;
22

33
use benchmark_util::setup_network;
44
use graphene_std::application_io;
5-
use iai_callgrind::{black_box, library_benchmark, library_benchmark_group, main};
5+
use iai_callgrind::{library_benchmark, library_benchmark_group, main};
66
use interpreted_executor::dynamic_executor::DynamicExecutor;
7+
use std::hint::black_box;
78

89
fn setup_run_once(name: &str) -> DynamicExecutor {
910
let (executor, _) = setup_network(name);

node-graph/interpreted-executor/benches/update_executor_iai.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ mod benchmark_util;
22

33
use benchmark_util::setup_network;
44
use graph_craft::proto::ProtoNetwork;
5-
use iai_callgrind::{black_box, library_benchmark, library_benchmark_group, main};
5+
use iai_callgrind::{library_benchmark, library_benchmark_group, main};
66
use interpreted_executor::dynamic_executor::DynamicExecutor;
7+
use std::hint::black_box;
78

89
fn setup_update_executor(name: &str) -> (DynamicExecutor, ProtoNetwork) {
910
let (_, proto_network) = setup_network(name);

0 commit comments

Comments
 (0)