mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
Added two documentation files to help users and future developers understand and use the trace functionality: 1. docs/cli/trace.md - User-facing documentation covering: - Usage examples and CLI syntax - Complete list of traced operations - Trace event format and fields - Analysis examples with jq - Common use cases (debugging, testing, AI analysis) - Performance impact details - Implementation details 2. test/js/bun/trace/README.md - Developer documentation covering: - Test file organization - How to write new trace tests - Important test patterns (instrumented vs non-instrumented ops) - Common assertions and debugging tips - Coverage matrix showing what's tested - Guidelines for adding new trace points These docs will help future Claudes (and humans) effectively use and extend the trace functionality. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Bun Documentation
Official documentation for Bun: the fast, all-in-one JavaScript runtime.
Development
Install the Mintlify CLI to preview the documentation locally:
bun install -g mint
Run the development server:
mint dev
The site will be available at http://localhost:3000.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.