feat(benchmark): add benchmark build (with build option) to test frame rate

This commit is contained in:
2024-11-09 01:17:09 +01:00
parent 2d2e63ac63
commit 817d818d4c
3 changed files with 53 additions and 6 deletions

View File

@@ -16,11 +16,11 @@ It contains information about me and my projects as well as blog entries about s
- [ ] How can I support to run a sub-process inside of a given pane / layout?
- [ ] Create demo gifs using [vhs](https://github.com/charmbracelet/vhs)
- [ ] How would I measure my FPS?
- [ ] Could I simulate a corresponding event loop?
- empty user event
- emmit as many as possible through another thread (until the event queue is full?)
- [x] Could I simulate a corresponding event loop?
- emmit as many as possible through another thread (until the event queue is full?) [1023]
- see how fast the application can render each frame and measure the necessary time for each _frame_?
-> determine statistics like, min, max, median, mean, etc.
-> Or buffered writer to the `std.posix.STDOUT_FILENO`?
-> I could use this to see if it makes sense to implement a buffered version using a screen buffer (to only render the differences?)
- seems pretty good (with some exceptions)