Local macOS control room for coding-agent skills, context, tools, and usage
- 版本
- v0.4.0-38
- 发布日期
- 2026-11-26
- 平台
- macOS
- 安装包大小
- macOS 13.7 MB
- 发布者
- sarthakagrawal927
performancedaddy
A native Mac performance investigator and regression lab.
README
PerformanceDaddy
A native Mac performance investigator and regression lab.
PerformanceDaddy shows local processes, occupied ports, local coding-agent families and RAM usage, with reviewed process termination and a separate incident-diagnosis workspace. It runs locally without dependencies or accounts.
Daily use
Feels slow now: mark an incident, retain up to two minutes of available preceding observations, then record another 30 seconds. Recent observations are bounded to 30 minutes/400 samples in memory; completed incidents join the ten local recent runs. Missing history cannot be reconstructed. The last external app is context, not a proven cause.
Measured responsiveness: a one-per-second, single-flight heartbeat measures PerformanceDaddy's main-queue acknowledgement delay. Local input dispatch timing retains counts and delays only, never input contents. These cover PerformanceDaddy, not other apps' completed interactions. In Diagnose, the optional app-response probe reads only the last-used app's Accessibility role, at most every five seconds with a 250 ms per-element messaging timeout. Enable it explicitly and grant macOS Accessibility access if desired. Replies measure the app's Accessibility service; messaging failures are not proof of a beachball, and quick replies do not prove smooth rendering.
Incident explanation: observations within ten seconds of a slow-moment marker identify a candidate workload only when a matching resource signal exists. Readable idle memory owners remain candidates during OS memory pressure. Unknown ownership and cause remain explicit.
Record follow-up: name the same action to repeat and the change you made yourself, then record a matching post-marker window. Report whether it felt better afterwards. The result keeps user-reported symptoms, resource changes and app-service timing separate; mixed app/version, power mode, missing or sparse probes, censored replies and differing windows prevent a latency improvement claim. The linked baseline and declared change survive reopening the report and recent-run rotation. No process or setting is changed by this workflow.
Richer diagnosis: recordings use the same native census as the live view and retain macOS memory pressure, workload footprint, identity-safe disk-I/O rates, project basenames, process-arrival observations and observer overhead. CPU, memory and I/O leaders remain visible separately. Polling is not a complete execution-event log; I/O throughput is not disk latency.
Measured fans and GPU: read-only SMC/IORegistry adapters expose available fan RPM/reported maxima, observed CPU/GPU sensor maxima and device GPU utilization. These undocumented driver fields vary by hardware/macOS; absent values remain unavailable. No fan control, helper, shell monitoring command or external runtime dependency is added.
Always-on performance alerts: enable Performance Alerts from Settings or the menu bar. Shared captures evaluate whole-Mac CPU and memory pressure, sustained workload CPU, optional resident-memory limits, substantial memory growth, thermal pressure and measured fan speed. Set per-workload limits, mute apps/executables/agent providers, snooze alerts, or inspect the last 50 session-only summaries. Fan alerts open Fans & heat; they never imply a proven heating app or control the fans. Matching fan RPM can be compared across equally long, adequately covered recordings.
Import stacks / export trace: Diagnose imports saved Activity Monitor Sample Process text and sampled speedscope JSON locally, with bounded parsing. Event-loop idle waits are distinguished from synchronization/I/O wait evidence; stacks do not prove a hang or measure CPU/response latency. Explicit trace export saves Chrome trace-event JSON for tools such as Perfetto; it is not a scheduler trace. Other formats require conversion and are rejected explicitly.
Understand a process: click Running to sort duration; it remains visible while inspecting a row. What is this? gives app-path association, observed ancestor-app context, documented role hints for 37 macOS services and an explicit unknown fallback. Search also matches roles, categories and app context. Catalog matches require an exact executable name in a system location, not authentication. Validate running code performs an explicit, offline native identity check. Apple/developer validation is separate from inferred app association and is not proof of safety or necessity. Online revocation/notarization is not checked; unavailable evidence does not establish invalid code. Results reset when the selected PID/start, UID or executable changes; checks are serialized and cancelled when the inspector closes. Inspect startup metadata checks bounded launch configurations on demand and shows exact executable matches, configured policy and coverage. A selected row is also observed running in the latest sample, but configuration plus observation does not prove the policy launched it, that it is enabled, or why it returned. Startup inspection does not validate publisher identity. Review Login Items in Settings opens the supported macOS control without edits.
Stop history: the clock-arrow toolbar button shows successful reviewed stop requests, missing observations, confirmed exits and later matching executables. A separate read-only native identity check confirms that an original instance is gone; missing samples or denied inspection do not prove exit. Reappearances are not proven automatic restarts. History is stored locally with a 500-event, 100-watch and 24-hour bound. Events survive relaunch; active exit watches do not. Existing sibling instances, rejected signals and pre-stop starts do not count.
Configuration: on-demand metadata inventory of known shell/agent paths under the user's home folder. Search, sort and select a file for size, modification date and Finder reveal. No content reads, symlink following, recursive scan, edits or deletion. This does not prove a config was loaded, resolve inherited settings or inventory every config.
App access: on-demand, bounded inventory of apps in the top level of
/Applicationsand~/Applications, plus user and shared launch-agent and launch-daemon files. It shows exact executable matches to the latest process sample and app privacy purpose strings. This is a partial audit: a launch file does not prove an item is enabled or launched automatically; a purpose string does not prove a permission grant. Login Items and other apps' privacy grants require confirmation in System Settings. An optional local code-signature check shows declared entitlements, which also do not establish privacy grants. The owner can record dated Settings observations for each app and category; these are stored locally, are not live grants, and should be rechecked after app or settings changes. Apps with a sensitive category marked allowed and startup evidence move to the top for review, without a safety score. The audit does not read the TCC database, request permissions, or classify apps as safe or malicious. After an exact-item review, a user-owned LaunchAgent file can be moved to Trash; this does not stop a running service and the app may recreate it. Shared launch files are revealed in Finder for manual handling. For supported categories, a user-confirmed allowed note exposes a reviewed per-apptccutilreset. Resetting forgets the decision and may let the app ask again; keeping access off requires System Settings. Neither action runs during scanning.Processes: search by name, PID, project folder or port; sort by CPU, RAM, name or port; select a row for its context and children. Command-click selects multiple rows.
Ports: TCP listeners and bound UDP sockets, grouped by owning process. Search a port number to find its owner. The inspector shows IPv4/IPv6 bind addresses and distinguishes loopback from non-loopback binding. This is local socket inventory; it does not probe other machines.
Agent sessions: exact-name recognition for Codex, Claude, Devin, Hermes, Aider, Gemini CLI, OpenCode and Cursor CLI, including Claude's versioned native installer executables. Same-provider wrappers collapse into one workload with descendant CPU, resident RAM and ports; sibling launches remain separate. Generic Node/Python wrappers may not be identifiable. This is local process evidence, not cloud sessions. Insight Agent Sessions opens a focused full-screen wall. Each observed terminal-attached agent family or locally instrumented background family is a tile; detached, uninstrumented app-server hosts remain in the process list even when they send hooks. A shared Codex host does not add a session tile or battery mark. Tiles fill the display, with relative area based on observed resident RAM and capped so one process cannot hide the rest. A single agent fills the wall. Green means a recent work event, orange means stopped, waiting for input or status unavailable, and red means an explicit provider failure event. A tile disappears when its process exits. The app checks process presence every two seconds even when the wall is closed; new processes appear on the regular live sample. Tiles also show the workspace, latest request label when a prompt hook supplies one, host, uptime and last lifecycle event. Resident pages can be shared across families.
While PerformanceDaddy runs, its compact outline-only menu bar battery shows one colored mark per session through twelve agents. Above twelve, the marks become a proportional color strip; the exact count remains in the panel. Clicking it shows every agent's exact state, workspace and available latest request, plus a shortcut to the full-screen wall. The same lifecycle evidence drives both views; a green mark is a recent work signal, not a process-presence claim.
Use Set up statuses… on Agent sessions to copy Codex, Claude or Devin lifecycle hook JSON into the existing user-level hooks file. Merge the event entries; do not replace other settings. The bundled app executable's
--agent-hookmode finds its local agent ancestor and sends the event, process identity, workspace basename and, for prompt events, a short latest-request label through a local macOS notification. It derives that label from the submitted prompt, then discards the full text. It does not read replies, transcripts, environment values or command arguments. Hook trust/reload is controlled by the provider. An uninstrumented terminal agent remains orange with “Status unavailable”; CPU use alone is not proof of agent work. Working evidence expires after five minutes without another event. The default hooks also observe compaction, Claude tool failures, and Claude MCP input requests. Claude'sStopFailureturns a tile red for API failures, except its documentedrate_limiterror, which shows amber as “Rate limited.” Devin documents no QPS wait hook, so a QPS pause cannot be identified immediately; it becomes amber as “Status unavailable” if no work event arrives for five minutes. Codex does not expose a general crash event through these hooks. Hook events are best-effort and may be missed if the app is closed or the provider cannot link the hook process to its local agent process. Status is held in memory while the app runs; older sessions may need to reload hooks or restart before they report an event. Codex hooks attach to the nearest matching client process when present. A shared background host's hook cannot identify a terminal client on its own. For an existing Codex terminal, choose Link Codex Session on its wall tile and enter the full ID shown by/statusin that terminal. The app hashes the ID in memory, keeps concurrent host signals se