Profiling
Prerequisites
cargo install --locked tokio-consoletokio-consoleEnable profiling
Profiling with Tauri


Profiling with Flutter
Last updated
Was this helpful?
AppFlowy uses tokio-console to debug the Rust backend. It would be very useful when having the high CPU usage issues.
Install the tokio-console by running the following command
cargo install --locked tokio-consoleand run locally
tokio-consoleThe flowy-core crate has a feature called profiling. Just enable this feature in the cargo.toml.

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

Using Xcode instruments to profile the backend.
Last updated
Was this helpful?
Was this helpful?

