Commit Graph
3 Commits
Author SHA1 Message Date
Tim van der Lippe dbb97be22a Move startup to entrypoints/startup
R=aerotwist@chromium.org

Bug: 1187573
Change-Id: If71a7d4eeda376e240fe7b1e12f94c853b3cba53
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2828129
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2021-04-15 16:45:15 +00:00
Tim van der Lippe b276117f81 Bundle meta files into separate entrypoint bundles
By bundling all meta files (which happens automatically, as Rollup
only treats filenames that are equivalent to the direct folder
they are in, which `-meta.ts` files by definition do not), we
reduce the amount of network requests performed at startup.

Before this CL:

Mean boot time: 1115.99ms
50th percentile boot time: 1115.28ms
90th percentile boot time: 1122.66ms
99th percentile boot time: 1159.44ms

After this CL:

Mean boot time: 1105.17ms
50th percentile boot time: 1072.34ms
90th percentile boot time: 1111.8ms
99th percentile boot time: 1442.42ms

Note that this is a marginal difference, but run on good hardware.
The theory is that this change will be more benificial for users
running slower hardware.

R=jacktfranklin@chromium.org

Bug: none
Change-Id: I24aa02d9f162d1ac07ceae5df2beaa0a61a7dd43
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2790878
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
2021-04-12 14:52:53 +00:00
Tim van der Lippe 7b347ca16f Move entrypoints to sub-folder
All JavaScript files for each entrypoint are put in their respective
sub-folder of front-end. The HTML files load from the new location and
build_release_applications has been updated to load from the correct
location.

R=aerotwist@chromium.org

Bug: 1187573
Change-Id: I4b93f3a2127ef2d3ce7dccefe03f70e79dac1c19
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2818379
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2021-04-12 12:04:18 +00:00