Simon Sapin
|
0f0de57936
|
Add a comment to explain the struct pattern trick.
https://github.com/servo/servo/issues/6912#issuecomment-127429643
|
2015-08-04 07:37:19 +02:00 |
|
Josh Matthews
|
8620fe5995
|
Start reporting memory usage for Window and all nodes in all DOM trees for frame treese in script tasks.
|
2015-08-03 23:05:00 -04:00 |
|
Bogdan Cuza
|
46442d28fa
|
Implement HeapSizeOf for Url. Fixes #6912
|
2015-08-03 22:02:56 +03:00 |
|
ecoal95
|
8cbfb3482c
|
Use euclid from crates.io
|
2015-06-19 00:04:24 +02:00 |
|
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 |
|
Glenn Watson
|
899ab226de
|
Updates for changes in rust-geom and rust-layers
|
2015-06-11 07:19:58 +10:00 |
|
Patrick Walton
|
e42011cd53
|
Revert "Updates for changes in rust-geom and rust-layers"
|
2015-06-10 14:14:51 -07:00 |
|
Glenn Watson
|
8fb29c91e6
|
Updates for changes in rust-geom and rust-layers
|
2015-06-11 07:05:56 +10:00 |
|
Manish Goregaokar
|
d347aeda38
|
fix rebase conflicts
|
2015-06-03 09:56:43 +05:30 |
|
Manish Goregaokar
|
13b4bcfbb7
|
Remove all Arc-less ignores, force reasons, ignore_heap_size_of
|
2015-06-03 07:14:21 +05:30 |
|
Manish Goregaokar
|
5447d2af3d
|
remove more heapsize ignores
|
2015-06-03 07:14:20 +05:30 |
|
Manish Goregaokar
|
a5975e8f33
|
use knownheapsize for geom stuff
|
2015-06-03 07:14:18 +05:30 |
|
Manish Goregaokar
|
c1daf889af
|
use HeapSizeOf plugin in gfx
|
2015-06-03 07:13:40 +05:30 |
|
Manish Goregaokar
|
f4bc92526a
|
Add #[heapsize]/#[derive(HeapSizeOf)] plugin to auto-derive HeapSizeOf impls
(fixes #5914)
|
2015-06-03 07:12:00 +05:30 |
|
Simon Sapin
|
ef8edd4e87
|
Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.
|
2015-05-05 10:07:34 -04:00 |
|
Nicholas Nethercote
|
ce36e574f4
|
Rename lots of profiling-related things.
------------------------------------------------------------------------
BEFORE AFTER
------------------------------------------------------------------------
util::memory util::mem
- heap_size_of - heap_size_of (unchanged)
- SizeOf - HeapSizeOf
- size_of_excluding_self - heap_size_of_children
prof::mem prof::mem
- MemoryProfilerChan - ProfilerChan
- MemoryReport - Report
- MemoryReportsChan - ReportsChan
- MemoryReporter - Reporter
- MemoryProfilerMsg - ProfilerMsg
- {R,UnR}egisterMemoryReporter - {R,UnR}egisterReporter
- MemoryProfiler - Prof
- ReportsForest - ReportsForest (unchanged)
- ReportsTree - ReportsTree (unchanged)
- SystemMemoryReporter - SystemReporter
prof::time prof::time
- TimeProfilerChan - ProfilerChan
- TimerMetadata - TimerMetadata (unchanged)
- Formatable - Formattable [spelling!]
- TimeProfilerMsg - ProfilerMsg
- TimeProfilerCategory - ProfilerCategory
- TimeProfilerBuckets - ProfilerBuckets
- TimeProfiler - Profiler
- TimerMetadataFrameType - TimerMetadataFrameType (unchanged)
- TimerMetadataReflowType - TimerMetadataReflowType (unchanged)
- ProfilerMetadata - ProfilerMetadata (unchanged)
In a few places both prof::time and prof::mem are used, and so
module-qualification is needed to avoid overlap, e.g. time::Profiler and
mem::Profiler. Likewise with std::mem and prof::mem. This is not a big
deal.
|
2015-03-25 16:00:23 -07:00 |
|