Ben Chuanlong Du's Blog

It is never too late to learn.

Profile Rust Applications Using Flamegraph

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

  1. not-perf is the best CPU profiling tool for Rust application.

  2. Valgrind is another good alternative to flamegraph if performance is not a big issue. However, profiling an application …

Rust Crate Log

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips on visualize-sqlite

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

visualize-sqlite is a Rust crate for creating simple visualizations of SQLite databases in GraphViz dot format.

Installation

wajig install libsqlite3-dev graphviz
cargo install visualize-sqlite

Usage

visualize-sqlite your_sqlite_database.db | dot -Tpng -Gfontname …