mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-07 14:28:12 +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:
co-authored by
Dennis Kobert
parent
1c9c19a697
commit
456a7c868d
@@ -0,0 +1,13 @@
|
||||
use graph_craft::document::NodeNetwork;
|
||||
use graph_craft::util::*;
|
||||
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)]
|
||||
pub fn compile_to_proto(_input: NodeNetwork) {
|
||||
std::hint::black_box(compile(_input));
|
||||
}
|
||||
|
||||
library_benchmark_group!(name = compile_group; benchmarks = compile_to_proto);
|
||||
|
||||
main!(library_benchmark_groups = compile_group);
|
||||
Reference in New Issue
Block a user