Hi B2G,

I asked on IRC before, but I think maybe none of the webapi folks were
around so I'll mirror my question here. Are there any gecko apis that apps
can use to

1. ask how much memory they're using or
2. get notified when they're using more than a certain amount of memory?

I ask because we have a couple bugs in calendar that can be generalized to
"When we do X we use more than Y memory" and I want for us to be able to
write tests like https://gist.github.com/gaye/5903408 before we begin
plugging away optimizing our memory usage so that our memory usage related
bug fixes get codified tests just like our functionality related bug fixes.

Happy launch day!

-- 
Best,
Gareth
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to