Very cool! This is probably too esoteric for the blog post, but it seems like the malloc_size_of thing isn't passed in for the Rust version. (For those who don't know, in Firefox, this is used for the Dark Matter Detector (DMD): a method can be passed in to record all blocks that are measured via the memory reporters, to then report the allocation stacks for blocks that aren't reported, to find places that are missing reporters.) I assume that this is just because there's no DMD set up yet? I also assume that basically you can just modify the derive generator code, which would be really great, compared to the hideous giant patches that are required when modifying the reporter boiler plate in Firefox. I don't know if it is worth calling out that global changes can be made locally, or maybe that's just implicit in the "less boilerplate" part of things.
On Sun, May 31, 2015 at 8:39 PM, Nicholas Nethercote <n.netherc...@gmail.com > wrote: > Hi there, > > I've written a draft of a blog post about memory profiling in Firefox > vs. Servo, which focuses on the Rust features that make the task more > pleasant in Servo. There's a draft copy here: > http://njn.valgrind.org/measuring.html > > I'd appreciate any feedback you all might have, esp. if I've gotten > anything wrong in the Servo/Rust part. > > Thank you. > > Nick > _______________________________________________ > dev-servo mailing list > dev-servo@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-servo > _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo