Skip to content

bmux v0.7.4

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Nov 05:40
· 36 commits to main since this release

Opt-in private CPU and allocation profiling for bmux clients and servers.

curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | sh

or, with Go 1.26+:

go install github.com/josephferrero/bmux/cmd/bmux@v0.7.4

New

  • Opt-in Go profiling. Set BMUX_PPROF_DIR when starting a client or server to expose CPU, allocation and heap profiles through private per-process Unix sockets. Profiling is disabled by default and opens no TCP port (#178, #179).
  • Concurrent capture helper. scripts/profile-bmux.py, available in the repository, records separate client/server CPU and allocation profiles over the same window. It uses only Python's standard library, writes private files, refuses to overwrite captures, and never starts or stops bmux.
  • Profiling guide. Instructions cover isolated test builds, static-versus-animated comparisons, Go pprof analysis, and cleanup.

This release adds diagnostics; it does not change rendering or claim a reduction in CPU usage.

Upgrading

The protocol is still version 10. Existing compatible servers remain usable; installing this release does not require an immediate server restart and does not automatically enable profiling.

Profiling must be enabled when each process starts. Relaunch a client with BMUX_PPROF_DIR to capture that client. An already-running server cannot acquire the profiling hooks just by installing the new binary: use an isolated test server, as shown in the guide, rather than restarting a busy main server. If you choose to run bmux restart, programs running in panes end; saved workspaces and recognized agent conversations can reopen, but arbitrary live processes are not preserved.