Commit Graph
6 Commits
Author SHA1 Message Date
Tim van der Lippe 2211a5f79e Remove unused legacy files
All of the symbols declared in these legacy files are no longer used
by the legacy layout tests.

R=alexrudenko@chromium.org

Bug: 1174013
Change-Id: I8e040047e0f6044d1fd3e4e3eacf9b5b0ce0391c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2848223
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
2021-04-23 13:23:18 +00:00
Tim van der Lippe 339ad2698a Move components to ui/legacy/components/utils
R=aerotwist@chromium.org

Bug: 1187573
Change-Id: Ib55515e9a436e21c4b1e7a014a95220b46021136
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2843311
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2021-04-21 13:42:05 +00:00
Sigurd Schneider 7670c3304e Move LogManager to models/logs
This removes the browser_sdk/ library. In a follow-up, I want to move
NetworkLog to models/logs as well, but this is currently blocked on
tests in chromium.

Bug: chromium:1199668
Change-Id: Ibc263b6536f84c82499b68837177b112def2f359
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2831446
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2021-04-16 14:47:35 +00:00
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