Skip to content

Mac desktop intermittent stutter under memory pressure; streaming and idle CPU samples #6816

Open

Description

@merllinsbeard

The owner reports intermittent stutter in the macOS desktop. This is a diagnostic report; I have not attributed a JavaScript function or changed the desktop settings.

Environment: Apple Silicon Mac,24GB RAM, macOS26.5.2; bb Nightly0.47.2-nightly.40099769967.1. Electron desktop connects to an existing remote HTTPS server over Tailscale.

A current measurement on2026-11-02 separates an actively streaming conversation from that same conversation after it finished. No app/server/browser restart occurred between the samples.

  • While streaming, renderer19–27% CPU, GPU helper24–30% CPU. Later interval samples of native top were used. Percentages are fractions of one core.
  • After completion, renderer0.3–1.8% CPU, GPU helper0–0.1%, main0–0.2%. Renderer footprint317–333MiB, GPU238MiB, main115MiB.
  • Mac memory was under pressure,23GB used. Compressor grew from about5.8GB during the earlier sample to8.9–9.6GB during the later one. Occupied swap alone did not prove thrashing; swapouts did not increase in these short intervals.
  • A native5second renderer sample showed generic Electron/V8 frames and waiting; it did not identify the exact JavaScript workload.

An earlier report on2026-10-31 with the same desktop version recorded renderer33–71% and GPU14–19% while viewing a completed conversation. That earlier condition was not reproduced in the current finished-thread interval.

Expected: typing and scrolling remain responsive under host memory pressure; a completed conversation stays quiet. Current result: idle CPU is low after completion, but the owner's earlier intermittent stutter has no attributed cause. Please advise on the supported non-restarting renderer profiling route if a more precise trace is needed. No private thread content or profiles are attached.

Activity

  1. added theissue type on Nov 2, 2026
  2. added
    desktop
    no-repro
    on Nov 2, 2026
  3. bb-slop-cop commented on Nov 2, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    • Classification applied: Bug · Priority: Medium · Effort: Medium · area: desktop, perf.
    • Investigation report: NOT REPRODUCED · root-cause confidence: low · reproduction label: no-repro.
    • Root cause: undetermined. This Linux environment cannot reproduce Apple Silicon/macOS memory pressure; no repeatable workload or attributed renderer trace establishes the stutter’s cause. This does not disprove the report.
    • Checks: 46 existing desktop tests passed in each of two clean trusted-main checkouts; these are diagnostic controls, not performance reproduction. Full-build attempts hit unrelated SDK runtime prerequisites.
    • Next evidence: trusted source provides View → Toggle Developer Tools (⌘⌥I) without reloading. A short renderer Performance recording during an actual hitch, with streaming and completed intervals separated, would help attribute the workload; review profiles for private content before sharing.
    • No pull request: no trusted-main reproduction or root cause supports a safe regression test and fix.

    AGENT GENERATED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    desktopno-reproperf

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions