# 使用 Homebrew 安装 wzprof

查看 wzprof 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:wzprof
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install wzprof
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:wzprof
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/wzprof>
- **版本:** 0.2.0
- **来源摘要:** Profiling for Wazero
- **主页:** <https://github.com/dispatchrun/wzprof>
- **仓库:** <https://github.com/dispatchrun/wzprof>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/dispatchrun/wzprof/archive/refs/tags/v0.2.0.tar.gz>
- **最后更新:** 2026-07-25T22:40:22+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- wzprof (cli)
- wzprof (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.2.0
- 管理器更新时间: 2026-07-25
- 本地数据: OK
- 上游仓库: https://github.com/dispatchrun/wzprof
- 检测到的最新版本: v0.2.0 (当前)
## 项目历史与用法

wzprof is a pprof-compatible profiler for WebAssembly programs running on the wazero runtime. It is a niche developer tool, but a meaningful one for the Go and WebAssembly packaging ecosystem because it brings familiar Go profiling workflows to guest Wasm modules.

### 项目历史

The project README describes wzprof as a profiler built on top of wazero, able to collect CPU and memory profiles while WebAssembly modules execute. It was presented publicly in the WebAssembly and cloud-native conference circuit, including Civo Navigate Europe 2024 and KubeCon + CloudNativeCon India 2024.

wzprof sits on top of wazero's trajectory as a pure-Go, zero-dependency WebAssembly runtime. Wazero's own history page says it began as Takeshi Yoneda's hobby project in mid-2020 and became a Tetrate-sponsored top-level project in late 2021; wzprof builds on that runtime rather than implementing a separate Wasm engine.

### 使用方式

Users can run wzprof as a CLI against a Wasm binary to emit CPU or memory profile files, then inspect them with the standard go tool pprof workflow. Library users can integrate the profilers with a wazero.Runtime through wazero's experimental function-listener hooks.

The tool supports pprof-style CPU samples, on-CPU time, memory allocation tracing for selected allocation functions, DWARF symbolization for C/Rust/Zig-style modules, and special stack handling for Go 1.21+ and debug-symbol CPython 3.11 guests.

### 为什么软件包爱好者会关心

wzprof matters to package nerds because it is a small example of WebAssembly's tooling stack becoming more like native language ecosystems: not just runtimes and compilers, but profilers, symbols, heap views, and workflows that integrate with existing developer muscle memory.

### 时间线

- 2020: wazero begins as a hobby project, according to wazero's official history.
- 2021: Tetrate sponsors wazero as a top-level project.
- 2023: wzprof publishes early releases and documents pprof-compatible CPU and memory profiling for WebAssembly.
- 2024: wzprof is presented at Civo Navigate Europe and KubeCon + CloudNativeCon India.

### Related projects

- wazero is the underlying Go WebAssembly runtime. google/pprof is the profile visualization and analysis tool whose workflow wzprof targets.

### 来源

- <https://github.com/dispatchrun/wzprof#readme>
- <https://github.com/google/pprof>
- <https://wazero.io/>
- <https://wazero.io/community/history/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** wzprof
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [emscripten](https://pkg.so/zh-hans/brew/emscripten/) - Shares pkgdb curated category or tags: cli, developer-tools, webassembly.
- [binaryen](https://pkg.so/zh-hans/brew/binaryen/) - Shares pkgdb curated category or tags: cli, developer-tools, webassembly.
- [wasmtime](https://pkg.so/zh-hans/brew/wasmtime/) - Shares pkgdb curated category or tags: cli, developer-tools, webassembly.
- [wabt](https://pkg.so/zh-hans/brew/wabt/) - Shares pkgdb curated category or tags: cli, developer-tools, webassembly.
- [bloaty](https://pkg.so/zh-hans/brew/bloaty/) - Shares pkgdb curated category or tags: cli, developer-tools, profiler.
- [wasm-tools](https://pkg.so/zh-hans/brew/wasm-tools/) - Shares pkgdb curated category or tags: cli, developer-tools, webassembly.
- [wasm-pack](https://pkg.so/zh-hans/brew/wasm-pack/) - Shares pkgdb curated category or tags: cli, developer-tools, webassembly.
- [wasmer](https://pkg.so/zh-hans/brew/wasmer/) - Shares pkgdb curated category or tags: cli, developer-tools, webassembly.
- [async-profiler](https://pkg.so/zh-hans/brew/async-profiler/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, profiler, profiling.
- [austin](https://pkg.so/zh-hans/brew/austin/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, profiler, profiling.

## Combined YAML source

View the package source record on GitHub. [combined/wzprof.yml](https://github.com/mxcl/pkgdb/blob/main/combined/wzprof.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
