servo/components
Martin Robinson 2234bc56a5
fonts: Eliminate overhead of first font instance creation (#33638)
The first font instance creation in the `SystemFontService` was
triggering fetching font keys, which added an approximately 1ms lag to
this operation. Doing this as soon as the `SystemFontService` thread is
spawned eliminates this lag.

In addition increase the size of the font key and font instance key
batch in order to avoid having to fetch new keys so frequently.

This change also adds profiling spans to the `SystemFontService` so it
is easier to see where it is spending its time when using perfetto.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-10-04 14:46:40 +00:00
..
allocator Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
background_hang_monitor Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
bluetooth Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
canvas Revert "compositor: Create a single cross-process compositor API (#33619)" (#33645) 2024-10-04 09:08:19 +00:00
compositing Revert "compositor: Create a single cross-process compositor API (#33619)" (#33645) 2024-10-04 09:08:19 +00:00
config net: Refactor Decoder (#33611) 2024-10-02 16:59:31 +00:00
config_plugins Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
constellation Revert "compositor: Create a single cross-process compositor API (#33619)" (#33645) 2024-10-04 09:08:19 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools clippy: Fix warnings in components/devtools/actors/inspector (#33618) 2024-10-02 13:36:59 +00:00
dom_struct Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
domobject_derive Replace ShouldNotImplDomObject with NoDomObjectInDomObject (#33627) 2024-10-03 12:58:34 +00:00
fonts fonts: Eliminate overhead of first font instance creation (#33638) 2024-10-04 14:46:40 +00:00
geometry Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
hyper_serde Stop using time@0.1 in Servo (#33394) 2024-09-11 07:09:56 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout fonts: Make FontKey and FontInstanceKey generation asynchronous (#33600) 2024-10-01 15:31:26 +00:00
layout_2020 Refactor sizing logic for table measures (#33579) 2024-10-01 17:28:17 +00:00
layout_thread Revert "compositor: Create a single cross-process compositor API (#33619)" (#33645) 2024-10-04 09:08:19 +00:00
layout_thread_2020 clippy: Fix too_many_arguments in components/layout_thread_2020 (#33646) 2024-10-04 14:20:55 +00:00
media Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
metrics Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
net Revert "compositor: Create a single cross-process compositor API (#33619)" (#33645) 2024-10-04 09:08:19 +00:00
pixels Optimized unmultiply_inplace to remove fp ops (#33582) 2024-09-30 19:39:27 +00:00
profile Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
rand Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script Revert "compositor: Create a single cross-process compositor API (#33619)" (#33645) 2024-10-04 09:08:19 +00:00
servo Revert "compositor: Create a single cross-process compositor API (#33619)" (#33645) 2024-10-04 09:08:19 +00:00
shared Revert "compositor: Create a single cross-process compositor API (#33619)" (#33645) 2024-10-04 09:08:19 +00:00
url Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
webdriver_server Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
webgpu clippy: Fix several warnings in components/script and components/webgpu (#33633) 2024-10-04 05:29:10 +00:00