From 2f2ba103be59b27d10b7ff8b5849a05e5cd0d95d Mon Sep 17 00:00:00 2001 From: chasse20 Date: Tue, 10 Nov 2026 20:39:32 -0500 Subject: [PATCH] Fix non-Linux path benchmark imports --- crates/engine/tests/it/path_perf.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crates/engine/tests/it/path_perf.rs b/crates/engine/tests/it/path_perf.rs index 7c103b18..8c81a9ea 100644 --- a/crates/engine/tests/it/path_perf.rs +++ b/crates/engine/tests/it/path_perf.rs @@ -3,8 +3,8 @@ use std::time::{Duration, Instant}; use serde_json::json; -use texturecraft_engine::geom::{glam::Vec2, primitives}; -use texturecraft_engine::{Session, execute}; +use texturecraft_engine::execute; +use texturecraft_engine::geom::glam::Vec2; fn median_ms(samples: &mut [Duration]) -> f64 { samples.sort_unstable(); @@ -72,6 +72,9 @@ fn resident_kib() -> usize { #[test] #[ignore = "release memory soak: 1,000 edits across 100 canceled previews"] fn path_preview_memory_soak() { + use texturecraft_engine::Session; + use texturecraft_engine::geom::primitives; + let mut session = Session::new_project("Path soak", primitives::sphere(1.0, 48, 24), "builtin:sphere", None, 512).unwrap(); session.viewport = Vec2::splat(400.0); session.update();