lucas-labs / coco

🥥 coco » interactive cli for creating conventional commits.
MIT License
3 stars 0 forks source link

✨ » implement debug-only fps counter #13

Open lucas-labs opened 1 month ago

lucas-labs commented 1 month ago

Create a small component that will be displayed in the bottom right corner of the screen and that will show the current FPS of the app. This will be useful to debug performance issues and to see how the app is performing in different scenarios.

it should only be displayed when the app is compiled in debug mode

Extracted from:

https://github.com/lucas-labs/coco/blob/9d12938a40c07d644e328c34460e849307876fc3/coco/src/view/main_component.rs#L11-L16