#malloc-size-of #webrender #zng #memory #measure #firefox #servo #bundling

zng-wr-malloc-size-of

Internal utility to measure memory usage in WebRender

4 releases (2 breaking)

0.3.0 Nov 8, 2025
0.2.0 Jun 24, 2025
0.0.3 Apr 10, 2024
0.0.2 Apr 7, 2024

#3 in #malloc-size-of

Download history 396/week @ 2025-08-27 303/week @ 2025-09-03 326/week @ 2025-09-10 533/week @ 2025-09-17 322/week @ 2025-09-24 342/week @ 2025-10-01 358/week @ 2025-10-08 194/week @ 2025-10-15 171/week @ 2025-10-22 248/week @ 2025-10-29 182/week @ 2025-11-05 167/week @ 2025-11-12 149/week @ 2025-11-19 94/week @ 2025-11-26 349/week @ 2025-12-03 170/week @ 2025-12-10

773 downloads per month
Used in 7 crates (3 directly)

MIT/Apache

20KB
441 lines

A reduced fork of Firefox's malloc_size_of crate, for bundling with WebRender.


This crate is a fork of servo/webrender published for use in zng-ui/zng.

Feel free to use it in your own project, the code is the same, the crate is just renamed with "zng-" prefix.

Dependencies

~665KB
~15K SLoC