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.