aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/mem.rs
Commit message (Collapse)AuthorAgeFilesLines
* Say farewell to in-tree HeapSizeOfAnthony Ramine2016-02-041-360/+0
|
* Update rust-selectorsEmilio Cobos Álvarez2016-02-031-9/+14
| | | | | This commits updates rust-selectors to use the generic parser, and as such it moves the element state into the style crate.
* Bump Rust to 2016-01-31 nightlyAnthony Ramine2016-02-011-3/+3
|
* Use features to prevent the util component from entraining the world in ↵Bobby Holley2016-01-111-79/+2
| | | | GeckoLib builds.
* Separate style+layout and layout-specific wrapper functionality.Bobby Holley2015-12-291-0/+2
| | | | | | | | | | | This patch does a number of things, unfortunately all at once: * Hoists a large subset of the layout wrapper functionality into the style system. * Merges TElementAttributes into the newly-created TElement. * Reorganizes LayoutData by style vs layout, and removes LayoutDataShared. * Simplifies the API for borrowing style/layout data. There's still more to do to make the style system usable standalone, but this is a good start.
* Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)Manish Goregaokar2015-11-271-1/+2
| | | | … and libc 0.2 and many other dependencies
* reduce node.unique_id sizeAleksandr Likhanov2015-11-191-0/+2
| | | | | fix sizeof unittest update Cargo.lock
* Made DOMString implement HeapSizeOf.Alan Jeffrey2015-11-121-1/+1
| | | | We have to do this by hand because DOMString is defined in util.
* Made QualName traceable by JS.Alan Jeffrey2015-11-061-2/+2
|
* Make DOMString a newtype around String, rather than a typedef.Ms2ger2015-11-041-1/+7
| | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type.
* Move EventState to rust-selectors.Bobby Holley2015-10-301-1/+2
|
* Fix issues found by rust-clippyCorey Farwell2015-10-121-25/+25
|
* Split Au type into separate crate, with minimal dependencies.Glenn Watson2015-10-011-1/+2
|
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-4/+4
|
* Upgrade rust to f93ab64d4a1a7ee91759a1594ab2a426b6cc657e/rustc-1.5.0-dev.Manish Goregaokar2015-09-231-1/+1
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-9/+8
| | | | This merges import blocks that were reported by tidy as unmerged.
* Record first and last token type of custom property values.Simon Sapin2015-09-171-2/+3
|
* sort all usesJohann Tuffe2015-08-201-10/+10
|
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-9/+124
|
* Add a comment to explain the struct pattern trick.Simon Sapin2015-08-041-0/+4
| | | | https://github.com/servo/servo/issues/6912#issuecomment-127429643
* Start reporting memory usage for Window and all nodes in all DOM trees for ↵Josh Matthews2015-08-031-7/+59
| | | | frame treese in script tasks.
* Implement HeapSizeOf for Url. Fixes #6912Bogdan Cuza2015-08-031-0/+42
|
* Use euclid from crates.ioecoal952015-06-191-1/+1
|
* Measure LocalLayoutContexts in LayoutTask and LayoutWorkers.Nicholas Nethercote2015-06-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | 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.
* Updates for changes in rust-geom and rust-layersGlenn Watson2015-06-111-2/+2
|
* Revert "Updates for changes in rust-geom and rust-layers"Patrick Walton2015-06-101-2/+2
|
* Updates for changes in rust-geom and rust-layersGlenn Watson2015-06-111-2/+2
|
* fix rebase conflictsManish Goregaokar2015-06-031-2/+2
|
* Remove all Arc-less ignores, force reasons, ignore_heap_size_ofManish Goregaokar2015-06-031-7/+5
|
* remove more heapsize ignoresManish Goregaokar2015-06-031-2/+3
|
* use knownheapsize for geom stuffManish Goregaokar2015-06-031-3/+15
|
* use HeapSizeOf plugin in gfxManish Goregaokar2015-06-031-3/+3
|
* Add #[heapsize]/#[derive(HeapSizeOf)] plugin to auto-derive `HeapSizeOf` implsManish Goregaokar2015-06-031-0/+28
| | | | (fixes #5914)
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-1/+0
|
* Rename lots of profiling-related things.Nicholas Nethercote2015-03-251-0/+161
------------------------------------------------------------------------ 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.