Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 688 Bytes

File metadata and controls

32 lines (21 loc) · 688 Bytes

Profiling

AppFlowy uses tokio-console to debug the Rust backend. It would be very useful when having the high CPU usage issues.

Prerequisites

Install the tokio-console by running the following command

cargo install --locked tokio-console

and run locally

tokio-console

Enable profiling

The flowy-core crate has a feature called profiling. Just enable this feature in the cargo.toml.

Profiling with Tauri

img.png

The profiling data will be displayed in terminal after the application run.

img.png

Profiling with Flutter

WIP