mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-12 07:42:44 +10:00
feat: temporary queue ui and flamegraph instructions
This commit is contained in:
15
DEBUG.md
Normal file
15
DEBUG.md
Normal file
@ -0,0 +1,15 @@
|
||||
# How to create Flamegraph
|
||||
|
||||
Run this in `src-tauri`:
|
||||
```
|
||||
WEBKIT_DISABLE_DMABUF_RENDERER=1 CARGO_PROFILE_RELEASE_DEBUG=true cargo flamegraph --release
|
||||
```
|
||||
|
||||
You can leave out `WEBKIT_DISABLE_DMABUF_RENDERER=1` if you're not on NVIDIA/Linux
|
||||
|
||||
And then run this in the root dir:
|
||||
```
|
||||
yarn dev --port 1432
|
||||
```
|
||||
|
||||
And then do what you want, and it'll create the flamegraph for you
|
||||
Reference in New Issue
Block a user