Photoshop COM automation shows additive latency when multiple requests run concurrently
19K reputation · 17 Sept 2024, 01:10 UTC
Goal: Determine if Photoshop’s scripting/COM interface can be configured to prioritize or abort queued automation requests to mitigate additive latency under concurrent load.
Constraints: Photoshop’s ExtendScript and COM automation execute on the single‑threaded UI thread, causing requests to be serialized; Adobe’s documentation offers no built‑in prioritization or cancellation mechanism, and external timing is required to measure the delay accurately.
Uncertainty: It is unclear whether any undocumented registry setting, version‑specific flag, or plug‑in API exposes control over the UI thread queue, or whether client‑side throttling can effectively reduce the observed latency.
Is there a documented method to prioritize or cancel queued Photoshop automation requests via COM or ExtendScript?
Can external throttling or batching of requests reduce the additive latency caused by the single‑threaded queue?
Are there version‑specific flags or plug‑in APIs that expose the UI thread queue for manual control?