Skip to content

Benchmark and optimize apply performance #28

Description

@brownie-ricon

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions