M13.32: web main-thread stall: Warp Stabilizer plans solved in job workers

warp.status solved the stabilization plan (Subspace Warp eigen-decompositions and mesh fits)
on the page the first time it saw an analysis: ~4.9 s blocking the browser's event loop in
the smoke test. The analysis job now sends the plan summary with its result, and a settings
change has a WarpPlan job solve it (status reports stabilizing meanwhile). Desktop unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-04 03:40:46 -04:00
co-authored by Claude Opus 5.5
parent 402b4cb52f
commit a006ed5765
7 changed files with 295 additions and 18 deletions
+4
View File
@@ -262,6 +262,9 @@ impl Session {
{
out.push(info("roto", "roto", "Roto Brush propagation".into(), p.done, p.total, true, String::new()));
}
if let Some(j) = self.offloaded(crate::offload::JobKind::WarpPlan) {
out.push(info("warpPlan", "warp", "Warp Stabilizer: Stabilizing".into(), j.progress.done, j.progress.total, true, String::new()));
}
if let Some(j) = self.offloaded(crate::offload::JobKind::ContentFill) {
out.push(info("contentFill", "contentFill", "Content-Aware Fill".into(), j.progress.done, j.progress.total, true, String::new()));
}
@@ -281,6 +284,7 @@ impl Session {
"warp" => self.stop_warp(),
"camera" => self.stop_camera(),
"roto" => self.stop_roto(),
"warpPlan" => self.cancel_offloaded(crate::offload::JobKind::WarpPlan),
"contentFill" => self.cancel_offloaded(crate::offload::JobKind::ContentFill),
"all" => {
let ids: Vec<String> = self.jobs().into_iter().map(|j| j.id).collect();