I’m writing a mobile web application using JQuery Mobile, JQuery, Javascript. This is my first run at writing a mobile web application so I’m trying things out. I want the program I’m writing to continuously run in the background so I can’t rely on a garbage collector and I’m worried about memory usage on a mobile device. I’m being careful to “null” and “delete” vars and functions when I’m done with them but I’d like a tool or system I can use to measure. I’m using CS5 Web Premium as the platform with which I’m writing my code. So…
Question: How do you test memory usage when bulding mobile web applications?
The easiest would be to type
about:memoryin your GoogleChrome browser and watch the memory usage there…..You could also use something like DynaTrace to get more details per jscript function (execution times and so on)