servo/components/util
Nicholas Nethercote 48a0725c01 Measure LocalLayoutContexts in LayoutTask and LayoutWorkers.
The FreeType instances in layout workers are reasonably large and worth
measuring. The one in LayoutTask is smaller but it's easy to measure at the
same time. Sample output:
```
|    8.33 MiB -- pages
|       8.33 MiB -- url(file:///home/njn/moz/servo/../servo-static-suite/wikipedia/Guardians%20of%20the%20Galaxy%20(film)%20-%20Wikipedia,%20the%20free%20encyclopedia.html)
|          1.32 MiB -- layout-worker-0-local-context
|          1.31 MiB -- layout-worker-1-local-context
|          1.24 MiB -- layout-worker-3-local-context
|          1.17 MiB -- layout-worker-4-local-context
|          1.08 MiB -- layout-worker-2-local-context
|          1.06 MiB -- layout-worker-5-local-context
|          0.78 MiB -- paint-task
|             0.78 MiB -- buffer-map
|          0.38 MiB -- layout-task
|             0.30 MiB -- display-list
|             0.07 MiB -- local-context
```
This required adding a mechanism to WorkQueue to measure worker TLSes.
2015-06-10 21:06:59 -07:00
..
deque Audit and reduce unstable usage in script 2015-06-10 01:43:44 +05:30
bezier.rs Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. 2015-05-05 10:07:34 -04:00
cache.rs Move util crate unit tests into a new unit_tests crate 2015-04-07 16:37:11 -04:00
Cargo.toml Remove fnv & smallvec crate reexports from util 2015-06-10 07:14:55 -07:00
cursor.rs Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. 2015-05-05 10:07:34 -04:00
debug_utils.rs Move to new io in util. 2015-03-28 20:02:23 +01:00
geometry.rs Make most Au methods take self by value. (It’s a i32 wrapper.) 2015-05-05 18:43:12 +02:00
lib.rs Remove fnv & smallvec crate reexports from util 2015-06-10 07:14:55 -07:00
linked_list.rs Remove workaround for rust-lang/rust#22244 2015-03-18 14:44:34 -07:00
logical_geometry.rs Move to latest hyper everywhere 2015-06-02 20:12:14 +05:30
mem.rs Measure LocalLayoutContexts in LayoutTask and LayoutWorkers. 2015-06-10 21:06:59 -07:00
namespace.rs Remove some as_slice calls. 2015-04-24 17:44:47 +02:00
opts.rs Give a useful error when passed a non-existant file 2015-06-04 13:52:22 -07:00
persistent_list.rs Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. 2015-03-18 13:18:31 -04:00
range.rs Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. 2015-05-05 10:07:34 -04:00
resource_files.rs when finding resource_dir, try exe launch directory 2015-05-12 13:45:49 -04:00
str.rs Remove null_str_as_empty and null_str_as_empty_ref functions. 2015-06-10 13:36:51 +02:00
task.rs Fix several hangs / panics during pipeline cleanup of in progress loads. 2015-05-19 16:14:25 +10:00
task_state.rs Move to latest hyper everywhere 2015-06-02 20:12:14 +05:30
taskpool.rs Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. 2015-05-05 10:07:34 -04:00
tid.rs Remove uint/int inside components/util (partial #4745). 2015-02-28 15:03:07 +01:00
vec.rs Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. 2015-05-05 10:07:34 -04:00
workqueue.rs Measure LocalLayoutContexts in LayoutTask and LayoutWorkers. 2015-06-10 21:06:59 -07:00