In particular, when garbage collection has five times as much memory as required, its runtime performance matches or slightly exceeds that of explicit memory management. However, garbage collection’s performance degrades substantially when it must use smaller heaps. With three times as much memory, it runs 17% slower on average, and with twice as much memory, it runs 70% slower.
http://sealedabstract.com/rants/why-mobile-web-apps-are-slow/
#garbage-collection #garbage #programming #memory #speed #performance #mobile #research