# bytehound **Repository Path**: rustup/bytehound ## Basic Information - **Project Name**: bytehound - **Description**: Linux下的内存分析工具,可以用来分析:内存泄漏、内存分配、调用栈追踪,甚至它还有一个浏览器UI! 懂的人都懂,性能测试工具的UI服务是多么稀缺和珍贵! - **Primary Language**: Rust - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-17 - **Last Updated**: 2024-06-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Bytehound - a memory profiler for Linux ## Features * Can be used to analyze memory leaks, see where exactly the memory is being consumed, identify temporary allocations and investigate excessive memory fragmentation * Gathers every allocation and deallocation, along with full stack traces * Can dynamically cull temporary allocations allowing you to profile over a long period of time * Uses a custom, tailor-made stack unwinding implementation which makes it a lot cheaper than other similar tools, potentially up to orders of magnitude faster in some cases * Can export the data it gathered into various different formats; it can export the data as JSON (so you can analyze it yourself if you want), as Heaptrack (so you can use the excellent [Heaptrack GUI] for analysis) and as a flamegraph * Has its own Web-based GUI which can be used for analysis * Can dynamically stream the profiling data to another machine instead of saving it locally, which is useful for profiling on memory-constrained systems * Supports AMD64, ARM, AArch64 and MIPS64 architectures (where MIPS64 requires a tiny out-of-tree kernel patch for `perf_event_open`) * Supports profiling of applications which use jemalloc as their allocator (only works on AMD64 with the `jemallocator` crate) * Supports an embedded DSL based on [Rhai](https://rhai.rs) to allow for programmatic and/or automated data analysis [Heaptrack GUI]: https://github.com/KDE/heaptrack ## Screenshots