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

Document performance profiling and usage of console.profile #1127

Open
stefnotch opened this issue Nov 10, 2024 · 0 comments
Open

Document performance profiling and usage of console.profile #1127

stefnotch opened this issue Nov 10, 2024 · 0 comments

Comments

@stefnotch
Copy link

What I did
I tried looking up how to do performance profiling with Deno, and was delighted to see that the Chrome Devtools work.

However, the first Google search result for deno profiling is https://docs.deno.com/runtime/contributing/profiling/ , which seems very unhelpful as a user. The second result is https://docs.deno.com/runtime/fundamentals/debugging/ , which contains relevant information, except that it only mentions debugging. No mention of profiling or the performance tab.

Expected
I would have expected to find at least one line mentioning it, along with a picture that showcases it. It would be even nicer if it also mentioned console.profile() and console.profileEnd().

image

P.S. I also opened an issue about updating the MDN metadata regarding console.profile, since Deno seems to supports it. Which is super nice! mdn/browser-compat-data#25022

@stefnotch stefnotch changed the title Document usage of console.profile Document performance profiling and usage of console.profile Nov 10, 2024
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

No branches or pull requests

1 participant