Migrate iai-callgrind to the renamed successor gungraun (#4056)

* Add .nvim.lua to gitignore

* Migrate from iai-callgrind to the renamed successor gungraun

---------

Co-authored-by: Dennis Kobert <dennis@kobert.dev>
This commit is contained in:
gamma0987
2026-05-14 08:18:59 +00:00
committed by GitHub
parent 1c9c19a697
commit 456a7c868d
11 changed files with 74 additions and 76 deletions

View File

@@ -62,7 +62,7 @@ winit = { workspace = true }
graph-craft = { workspace = true, features = ["loading"] }
pretty_assertions = { workspace = true }
criterion = { workspace = true }
iai-callgrind = { workspace = true }
gungraun = { workspace = true }
# Benchmarks
[[bench]]
@@ -70,5 +70,5 @@ name = "compile_demo_art_criterion"
harness = false
[[bench]]
name = "compile_demo_art_iai"
name = "compile_demo_art_gungraun"
harness = false

View File

@@ -1,6 +1,6 @@
use graph_craft::document::NodeNetwork;
use graph_craft::util::*;
use iai_callgrind::{library_benchmark, library_benchmark_group, main};
use gungraun::prelude::*;
#[library_benchmark]
#[benches::with_setup(args = ["isometric-fountain", "painted-dreams", "procedural-string-lights", "parametric-dunescape", "red-dress", "valley-of-spires"], setup = load_from_name)]

View File

@@ -30,7 +30,7 @@ serde = { workspace = true }
# Workspace dependencies
graph-craft = { workspace = true, features = ["loading"] }
criterion = { workspace = true }
iai-callgrind = { workspace = true }
gungraun = { workspace = true }
preprocessor = { workspace = true }
# Benchmarks
@@ -47,13 +47,13 @@ name = "run_cached"
harness = false
[[bench]]
name = "update_executor_iai"
name = "update_executor_gungraun"
harness = false
[[bench]]
name = "run_once_iai"
name = "run_once_gungraun"
harness = false
[[bench]]
name = "run_cached_iai"
name = "run_cached_gungraun"
harness = false

View File

@@ -2,7 +2,7 @@ mod benchmark_util;
use benchmark_util::setup_network;
use graphene_std::application_io::RenderConfig;
use iai_callgrind::{library_benchmark, library_benchmark_group, main};
use gungraun::prelude::*;
use interpreted_executor::dynamic_executor::DynamicExecutor;
use std::hint::black_box;

View File

@@ -2,7 +2,7 @@ mod benchmark_util;
use benchmark_util::setup_network;
use graphene_std::application_io;
use iai_callgrind::{library_benchmark, library_benchmark_group, main};
use gungraun::prelude::*;
use interpreted_executor::dynamic_executor::DynamicExecutor;
use std::hint::black_box;

View File

@@ -2,7 +2,7 @@ mod benchmark_util;
use benchmark_util::setup_network;
use graph_craft::proto::ProtoNetwork;
use iai_callgrind::{library_benchmark, library_benchmark_group, main};
use gungraun::prelude::*;
use interpreted_executor::dynamic_executor::DynamicExecutor;
use std::hint::black_box;