Skip to content

Comments

Some profiling improvements#31

Draft
fredizzimo wants to merge 2 commits intoneovide:mainfrom
fredizzimo:fsundvik/profiling-improvements
Draft

Some profiling improvements#31
fredizzimo wants to merge 2 commits intoneovide:mainfrom
fredizzimo:fsundvik/profiling-improvements

Conversation

@fredizzimo
Copy link
Contributor

  • Fix the end frame, it was called twice before, and before present. Now it's after present, which matches the wgpu-profiler sample code.
  • Disable some high frequency profiling events with too much overhead

End frame was called twice before, and now it also matches the example in wgpu-profiler.
The overhead is a bit too big to keep enabled all the time.
@fredizzimo fredizzimo marked this pull request as draft July 31, 2024 07:31
@fredizzimo
Copy link
Contributor Author

The duplicate end frame is because Neovide also does it, so this fix is not correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant