Memory calculation

Hi all , i want to calculate the time and memory of my app! for a eg. if am loading the google.com what’s the time taken to load full page and how much memory has been utilized for that! how should i work on it!

For the time you could:

  • Record the time when you start
  • Do your magic
  • Record the time when you finish
  • Subtract the startTime from the endTime
  • Voila!

You can see an example here:

how to calculate memoery @radutzp

Hi any update to how to calculate the current application memory?

I don’t really know how, but I imagine it could be done with some paralel activities: ones that do the actual logic, ones that measure the memory

1 Like