servo/components
bors-servo 4e9967b43e
Auto merge of #24148 - asajeffrey:script-prefetch, r=jdm,nox
Prefetch img, scripts and stylesheets during parsing

<!-- Please describe your changes on the following line: -->

Eagerly tokenize html input, and scan for `script` and `img` tags which can be prefetched into the cache. This allows resources to be loaded concurrently, which would otherwise be loaded sequentially due to being blocked by script execution. On the cloth webgl demo, this takes the time-to-paint down from 732ms to 560ms.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #3847
- [x] These changes do not require tests because it's a perf improvement

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24148)
<!-- Reviewable:end -->
2019-09-11 15:28:05 -04:00
..
allocator
atoms Implement ElementClick wd command 2019-08-31 10:14:40 +03:00
background_hang_monitor Update and dedupe nix 2019-09-06 18:37:37 +02:00
bluetooth Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
bluetooth_traits Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
canvas Fallback to old extensions API if NUM_EXTENSIONS errors 2019-09-03 11:03:45 -05:00
canvas_traits Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
compositing Auto merge of #24058 - Eijebong:ipc-channel, r=jdm 2019-08-27 18:40:40 -04:00
config Update to url 2.0 2019-08-17 10:03:44 +02:00
config_plugins
constellation Auto merge of #24058 - Eijebong:ipc-channel, r=jdm 2019-08-27 18:40:40 -04:00
debugger Update to url 2.0 2019-08-17 10:03:44 +02:00
deny_public_fields
derive_common
devtools Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
devtools_traits Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
dom_struct
domobject_derive
embedder_traits Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
fallible
geometry Update euclid. 2019-07-23 23:09:55 +02:00
gfx Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
gfx_traits Replace DisplayList::is_contentful with tracking during conversion to WR display lists 2019-09-06 17:15:53 +02:00
hashglobe
jstraceable_derive
layout Import victor's layout system 🍷 2019-09-11 10:36:30 +02:00
layout_2020 Import victor's layout system 🍷 2019-09-11 10:36:30 +02:00
layout_thread Replace DisplayList::is_contentful with tracking during conversion to WR display lists 2019-09-06 17:15:53 +02:00
layout_thread_2020 Import victor's layout system 🍷 2019-09-11 10:36:30 +02:00
layout_traits Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
malloc_size_of Update to url 2.0 2019-08-17 10:03:44 +02:00
media Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
metrics Replace DisplayList::is_contentful with tracking during conversion to WR display lists 2019-09-06 17:15:53 +02:00
msg Deduplicate parking_lot and friends by updating it to 0.9 2019-09-05 10:47:39 +02:00
net Responding to review comments 2019-09-11 11:40:50 -05:00
net_traits Responding to review comments 2019-09-11 11:40:50 -05:00
pixels Update euclid. 2019-07-23 23:09:55 +02:00
profile Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
profile_traits Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
rand Update rand to 0.6 2019-08-11 20:50:22 +02:00
range
remutex
script Auto merge of #24148 - asajeffrey:script-prefetch, r=jdm,nox 2019-09-11 15:28:05 -04:00
script_layout_interface Auto merge of #24058 - Eijebong:ipc-channel, r=jdm 2019-08-27 18:40:40 -04:00
script_plugins Upgrade to rustc 1.39.0-nightly (521d78407 2019-08-25) 2019-08-26 14:22:48 +02:00
script_traits Auto merge of #24090 - georgeroman:implement_element_click_wd_command, r=jdm 2019-09-04 12:25:50 -04:00
selectors
servo Auto merge of #24058 - Eijebong:ipc-channel, r=jdm 2019-08-27 18:40:40 -04:00
servo_arc style: Properly refcount-log UniqueArcs created with new_uninitialized(). 2019-07-24 14:52:53 +02:00
size_of_test
std_test_override
style Import victor's layout system 🍷 2019-09-11 10:36:30 +02:00
style_derive
style_traits style: Refactor grid types to preserve repeat() at computed value time and use cbindgen. 2019-08-15 16:58:44 +02:00
to_shmem Stylo: replace uses of mem::uninitialized with MaybeUninit 2019-07-16 08:03:54 +02:00
to_shmem_derive
url Update to url 2.0 2019-08-17 10:03:44 +02:00
webdriver_server Auto merge of #24090 - georgeroman:implement_element_click_wd_command, r=jdm 2019-09-04 12:25:50 -04:00
webrender_traits Update euclid. 2019-07-23 23:09:55 +02:00
webvr Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00
webvr_traits Update ipc-channel and related dependencies 2019-08-27 23:44:04 +02:00