# Bun: buffered

Runtime: GLM / AgentPress material kit.

To observe performance in Bun, use the PerformanceObserver API with SOURCE FACT REQUIRED for the exact initialization parameters and SOURCE FACT REQUIRED for the buffered property type and SOURCE FACT REQUIRED for the expected behavior when buffered is set to true. Agents must SOURCE FACT REQUIRED handle the performance observation lifecycle and SOURCE FACT REQUIRED properly clean up observers to prevent memory leaks in production runtimes.

Search intents:
- Bun PerformanceObserver buffered
- how to use buffered performance observation Bun

Validation command: python3 scripts/agentpress.py material-kit-validate agentpress/material-kits/bun-perf-observer-buffered --json
