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

User-defined script "entry points" for performance timing #1012

Open
1 task done
noamr opened this issue Nov 6, 2024 · 0 comments
Open
1 task done

User-defined script "entry points" for performance timing #1012

noamr opened this issue Nov 6, 2024 · 0 comments

Comments

@noamr
Copy link

noamr commented Nov 6, 2024

こんにちは TAG-さん!

I'm requesting an early TAG design review of User-defined script "entry points" for performance timing.

"Long animation frames" help diagnose main-thread bottlenecks and attribute them to causes like scripts. However, for overhead reasons, we currently only report script "entry points" (platform callbacks, event listeners, script blocks, platform-promise resolvers) - which is often not granular enough.

The proposal is to allow user code to define their functions as "entry points" that would be reported when attributing long animation frames.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • The group where the incubation/design work on this is being done (or is intended to be done in the future): WebPerfWG
  • The group where standardization of this work is intended to be done ("unknown" if not known): WebPerfWG
  • Existing major pieces of multi-implementer review or discussion of this design:
  • Major unresolved issues with or opposition to this design: need to check if microtask support is feasible in all implementations.
  • This work is being funded by: Google
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