Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing RenderTime and Fps ? #18374

Open
fforjan opened this issue Mar 5, 2025 · 0 comments
Open

Accessing RenderTime and Fps ? #18374

fforjan opened this issue Mar 5, 2025 · 0 comments

Comments

@fforjan
Copy link

fforjan commented Mar 5, 2025

Is your feature request related to a problem? Please describe.

I'm currently writing an extension to connect chrome dev tools to an avalonia app for debugging and performance/tracing:
Image

With a hack, I was able to access LayoutTime but i'm not able to understand how to get access to the RenderTime and FPS which are displayed in the debugging overlay ?

I would like to be able to read/calculate those so that I can display the data into chrome tracing.

Describe the solution you'd like

Hooks to get access to that information. Note as it is for debugging/tracing, a very small performance impact is to be expected when the hooks are connected

Describe alternatives you've considered

No response

Additional context

No response

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

No branches or pull requests

1 participant