EmbroideryPipeline 12-15x slower than the README's advertised budget #127
Labels
No labels
blocked:children
blocked:depends-101
blocked:depends-103
blocked:depends-104
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:preflight
bug
chore
feature-request
in-progress
lint-cleanup
needs-decompose
performance
quality
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch#127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
EmbroideryPipeline is 12-15x slower than the README's advertised budget
Repo: Mark/easystitch
Severity: Low — needs benchmark before sizing decisions
Found: 2026-09-08 full shakedown
Symptom
easystitch-service/README.md§Capacity & scaling:Actual numbers from a single 2510x2562 PNG (~6x the pixel count of 1024^2):
Even adjusting for the 6x pixel ratio (which doesn't scale linearly), this is still ~2x slower
per pixel than advertised.
Why it matters
The SAAS pricing tiers (Small $49/50 designs, Pro $149/200 designs, Shop $399/unlimited) and
the
MAX_QUEUE_DEPTH=8sizing are sized off the 600ms budget. If real latency is 10-15x that,queue saturation will happen 10-15x sooner under load.
Suggested next step
Profile a representative 1024x1024 PNG through
EmbroideryPipeline.process(...)(not theservice wrapper) and capture per-stage timings. The bottleneck is most likely in raster
vectorization (felzenszwalb/saliency segmentation) since 2510x2562 takes much longer than
mixed-stitches SVG (a few KB).
Acceptance
processing_ms < 5000on a 1024x1024 PNG fixture