Summary
apply has noticeable time sinks that could be measured and optimized:
- Sleep timers between space navigation and window operations (0.3s, 0.5s, 1s)
- Sequential Hammerspoon CLI calls (each has IPC overhead)
- Swift compilation on first run
- Wallpaper generation time per space
Would be useful to:
- Add timing instrumentation (total time, per-space breakdown, per-operation)
- Identify which sleeps can be reduced without breaking reliability
- Explore batching multiple HS operations into single CLI calls
- Consider parallel wallpaper generation
This becomes more important as the manifest grows (more apps per zone, more zones).
Summary
applyhas noticeable time sinks that could be measured and optimized:Would be useful to:
This becomes more important as the manifest grows (more apps per zone, more zones).