servo/components/profile
Martin Robinson 77cfca65c4
script: Eliminate code duplication in the task queue (#34798)
Instead of creating a type for each `TaskSource` variety have each `TaskSource`
hold the same kind of sender (this was inconsistent before, but each
sender was effectively the same trait object), a pipeline, and a
`TaskSourceName`. This elminates the need to reimplement the same
queuing code for every task source.

In addition, have workers hold their own `TaskManager`. This allows just
exposing the manager on the `GlobalScope`. Currently the `TaskCanceller`
is different, but this will also be eliminated in a followup change.

This is a the first step toward having a shared set of `Sender`s on
`GlobalScope`.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-01-01 13:50:52 +00:00
..
Cargo.toml Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
lib.rs remove extern crate (#30311) 2023-09-08 12:11:31 +00:00
mem.rs Use ROUTER::add_typed_route instead of ROUTER::add_route everywhere (#33866) 2024-10-18 10:47:52 +00:00
time.rs script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
trace-dump-epilogue-1.html Add a method for dumping self-contained HTML timeline profiles 2016-04-27 18:35:17 -07:00
trace-dump-epilogue-2.html Add a method for dumping self-contained HTML timeline profiles 2016-04-27 18:35:17 -07:00
trace-dump-prologue-1.html Add a method for dumping self-contained HTML timeline profiles 2016-04-27 18:35:17 -07:00
trace-dump-prologue-2.html Add a method for dumping self-contained HTML timeline profiles 2016-04-27 18:35:17 -07:00
trace-dump.css Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
trace-dump.js Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
trace_dump.rs script: Create a CrossProcessInstant to enable serializable monotonic time (#33282) 2024-09-05 18:50:09 +00:00