🚧 Early alpha Under active construction. Everything here may change without notice — except the appcast URL. That one's forever.

Aetower

Docs

Aetower runtime profiling

The benchmark harness protects the collection pipeline. This workflow measures the real packaged app while it is running.

Quick run

Attach to the currently running packaged app:


sh scripts/profile-runtime.sh --duration 30 --interval 2 --sample-seconds 5

Launch the packaged app just for the profiling run:


sh scripts/profile-runtime.sh --rebuild --launch --duration 30 --interval 2 --sample-seconds 5

Enforce default local runtime budgets during the profile:


sh scripts/profile-runtime.sh --duration 60 --interval 5 --sample-seconds 5 --enforce

What it captures

Each run writes artifacts under tmp/runtime-profile/<timestamp>/:

MCP runtime diagnostics

Agents should prefer the in-app MCP tools when investigating a live Aetower session, because those tools read the app-owned engine state instead of starting a second collector:

Use shell profiling only when you need OS-level stack samples or when the MCP server is unavailable.

How to use it

Use this after major runtime changes, especially around:

The benchmark harness answers “is the pipeline bounded?”. This runtime profile answers “is the packaged app actually cheap while it is alive for a while?”.

Soak guidance

For a stronger local soak run, use a longer duration and keep the app doing normal work:


sh scripts/profile-runtime.sh --duration 1800 --interval 10 --sample-seconds 10

For a stricter enterprise-style local soak that also exercises telemetry smoke and optionally release preflight:


sh scripts/soak-local.sh --rebuild --launch

Or with release credentials expected:


AETOWER_REQUIRE_ENDPOINT_SECURITY=1 sh scripts/soak-local.sh --release-preflight --rebuild --launch

After a soak, check:

With --enforce, the profiler will fail when default limits are exceeded for:

These defaults are tuned for a short packaged-app verification run, not a 30-minute soak. Use stricter custom environment limits for longer settled-session profiling when you want to ratchet overhead down further.

Aetower is a free early-alpha download for macOS 14+ (Apple silicon).

Download for macOS