Open sime opened 8 years ago
Only thing is.. probably using $timeout rather than setTimeout. Also, can you try in other browsers & if this is the case?
Also.. Thanks for profiling this :+1:
Okay so I have looked in Firefox, Safari and Internet Explorer and I am unable to provide a similar report as I did in Chrome.
Firefox shows some drop in frame rate, but I cannot see anything that explicitly says Garbage Collection. Safari I cannot find a tool to report on memory. Internet Explorer doesn't show any dramatic changes in memory usage.
I tried the same profile in Chrome Canary and the got the same result in Chrome.
I am guessing its a Chrome thing... perhaps using setTimeout does this all the time in Chrome (not sure though)
I managed to filter the Firefox reporting.
doesn't look too bad on Firefox. So its a Chrome thing?
Hello,
I'm diving into plugging memory leaks in my application. I've quickly discovered that the most basic example of angular-timer does a lot of garbage collection.
Any tips on what to look out?
http://siddii.github.io/angular-timer/examples/angularjs-single-timer.html