diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-02-23 19:54:50 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-02-23 19:54:50 -0700 |
commit | eb7e86ac4e21334e807a81ed01348a82ac7610b5 (patch) | |
tree | 959f7657f61a89878b78e0297ec4d7f73e85db91 /components/script/dom/bindings/codegen/test/TestBindingHeader.h | |
parent | 576158d08deae2d87bde351548cbeb77590a34dc (diff) | |
parent | 34a384241aae7dc79a500cdd6738a11b560d8352 (diff) | |
download | servo-eb7e86ac4e21334e807a81ed01348a82ac7610b5.tar.gz servo-eb7e86ac4e21334e807a81ed01348a82ac7610b5.zip |
auto merge of #4894 : nnethercote/servo/read-smaps, r=jdm
Here's example -m output after these changesets are applied:
```
_size (MiB)_: _category_
2798.61: vsize
136.80: resident
142.89: resident-according-to-smaps
97.84: - anonymous (rw-p)
23.98: - /home/njn/moz/servo/components/servo/target/servo (r-xp)
6.58: - [heap] (rw-p)
5.36: - other
3.51: - /usr/lib/x86_64-linux-gnu/dri/i965_dri.so (r-xp)
1.33: - /lib/x86_64-linux-gnu/libc-2.19.so (r-xp)
0.93: - /home/njn/moz/servo/components/servo/target/servo (r--p)
0.76: - /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 (r-xp)
0.74: - /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 (r-xp)
0.50: - /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (r-xp)
0.50: - /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1 (r-xp)
0.45: - /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0 (r-xp)
0.43: - /lib/x86_64-linux-gnu/libm-2.19.so (r-xp)
30.85: system-heap-allocated
4.91: jemalloc-heap-allocated
6.11: jemalloc-heap-active
120.00: jemalloc-heap-mapped
```
The `resident-according-to-smaps` line is new, as are all the indented lines beneath it. This is useful particularly because it shows how much memory is taken up by code, e.g. the line ending in `servo (r-xp)` shows that the `servo` executable's code alone takes up 24 MiB of physical memory.
Diffstat (limited to 'components/script/dom/bindings/codegen/test/TestBindingHeader.h')
0 files changed, 0 insertions, 0 deletions