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

Consider performance tools aimed at the ESM JavaScript loading #40

Open
dvoytenko opened this issue Oct 7, 2022 · 2 comments
Open

Consider performance tools aimed at the ESM JavaScript loading #40

dvoytenko opened this issue Oct 7, 2022 · 2 comments

Comments

@dvoytenko
Copy link

A Web page may have a <script type="module" src="page.js">. Browser will initiate loading script. If the "page.js" has import statements - then those resources will also be loaded before "page.js" is evaluated, and so on recursively in a waterfall.

The performance of the application depends on the dependency graph of the "page.js". However, this performance overall is not current easily observable using existing tools.

@yoavweiss
Copy link
Contributor

Thanks for filing this! Would you be interested in discussing this on the WebPerfWG call? It'd be interesting to discuss what the current solutions for this issue are, and why they are not necessarily sufficient.

@dvoytenko
Copy link
Author

Sure

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

2 participants