# 使用 Homebrew 安装 wzprof

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install wzprof
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:wzprof
- **软件包管理器:** Homebrew
- **版本:** 0.2.0
- **来源摘要:** Profiling for Wazero
- **主页:** <https://github.com/dispatchrun/wzprof>
- **仓库:** <https://github.com/dispatchrun/wzprof>
- **最后更新:** 2026-07-25T22:40:22+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- wzprof (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
