mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-07 12:38:12 +08:00
Require a node registry to compile so the layout pass always runs
This commit is contained in:
@@ -5,7 +5,7 @@ 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));
|
||||
std::hint::black_box(compile(_input, &interpreted_executor::node_registry::NODE_REGISTRY));
|
||||
}
|
||||
|
||||
library_benchmark_group!(name = compile_group; benchmarks = compile_to_proto);
|
||||
|
||||
Reference in New Issue
Block a user