Re: [JS-internals] A precise memory reporting test

2013-10-13 Thread Benjamin Peterson
2013/10/13 Nicholas Nethercote : > Hi, > > I want to add a precise memory reporting test. One that uses the > JSAPI to build some objects and strings whose exact size is knowable, > so that I can check that the reported sizes match. (We don't have > anything like that currently.) > > The obvious

[JS-internals] A precise memory reporting test

2013-10-13 Thread Nicholas Nethercote
Hi, I want to add a precise memory reporting test. One that uses the JSAPI to build some objects and strings whose exact size is knowable, so that I can check that the reported sizes match. (We don't have anything like that currently.) The obvious way to do this is via a jsapi-test, but there's