mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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)]
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user