Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Measuring memory usage when developing mobile web applications

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?

like image 571
Likwid_T Avatar asked May 09 '26 14:05

Likwid_T


1 Answers

The easiest would be to type about:memory in 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)

like image 119
Leon Avatar answered May 11 '26 05:05

Leon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!