Re: [dev-servo] Draft blog post about memory measurement

2015-06-02 Thread Azita Rashed
Yes, this page is old and needs to be updated. We’re looking into it and trying to get it updated. Thanks Azita > On Jun 2, 2015, at 2:36 PM, Kyle Huey wrote: > > Someone should update https://www.mozilla.org/en-US/research/projects/#servo >

Re: [dev-servo] Draft blog post about memory measurement

2015-06-02 Thread Kyle Huey
Someone should update https://www.mozilla.org/en-US/research/projects/#servo then. - Kyle On Mon, Jun 1, 2015 at 4:07 PM, Azita Rashed wrote: > Hi Nick, > This is very nice. One small note in the beginning of your post, you > called Servo an experimental browser engine. We should take out the

Re: [dev-servo] Draft blog post about memory measurement

2015-06-01 Thread Nicholas Nethercote
On Mon, Jun 1, 2015 at 4:07 PM, Azita Rashed wrote: > This is very nice. One small note in the beginning of your post, you called > Servo an experimental browser engine. We should take out the word > experimental and just call it a new or next generation browser engine. The > project isn’t i

Re: [dev-servo] Draft blog post about memory measurement

2015-06-01 Thread Nicholas Nethercote
On Mon, Jun 1, 2015 at 8:59 AM, Jack Moffitt wrote: > > One question I still had at the end was whether things like Arc > (non-owning references) are accounted for somewhere? If there's a clear owner, then it makes sense to measure the struct from there. Otherwise, we'll have to do some kind of "

Re: [dev-servo] Draft blog post about memory measurement

2015-06-01 Thread Nicholas Nethercote
On Mon, Jun 1, 2015 at 8:46 AM, Andrew McCreight wrote: > > 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 b

Re: [dev-servo] Draft blog post about memory measurement

2015-06-01 Thread Nicholas Nethercote
Thanks for the comments so far. I will address them in the final version. BTW, some eager beaver posted my link to Hacker News where it made the front page. I knew this post would be perfect linkbait for HN but this was a little premature. Whoops. Anyway, I edited to the page to remove all the Wo

Re: [dev-servo] Draft blog post about memory measurement

2015-06-01 Thread Azita Rashed
Hi Nick, This is very nice. One small note in the beginning of your post, you called Servo an experimental browser engine. We should take out the word experimental and just call it a new or next generation browser engine. The project isn’t in the experimental phase anymore and we don’t want t

Re: [dev-servo] Draft blog post about memory measurement

2015-06-01 Thread Manish Goregaokar
The comment goes away in that PR :) As for Arc, I think the plan is to divide by the refcount; to get a "weight" sort of thing. Note that we only need to worry about shared references, not all non-owning references (borrows can be ignored) -Manish Goregaokar On Mon, Jun 1, 2015 at 9:29 PM, Jac

Re: [dev-servo] Draft blog post about memory measurement

2015-06-01 Thread Jack Moffitt
> 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 Very nice! One question I still had at the end was whether thing

Re: [dev-servo] Draft blog post about memory measurement

2015-06-01 Thread Andrew McCreight
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