{"id":2916,"date":"2014-06-02T12:32:21","date_gmt":"2014-06-02T04:32:21","guid":{"rendered":"http:\/\/www.alfredivy.per.sg\/blogger\/?p=2916"},"modified":"2014-06-11T11:28:06","modified_gmt":"2014-06-11T03:28:06","slug":"justarchi-optimization-android","status":"publish","type":"post","link":"https:\/\/www.alfredivy.sg\/blogger\/2014\/06\/justarchi-optimization-android\/","title":{"rendered":"JustArchi Optimization for Android"},"content":{"rendered":"<p>JustArchi, developer on XDA Developers has revealed a long series of optimization for tweaks Android. \u00a0The idea here is that the original compiler settings since Cupcake has not changed. \u00a0On the other hand, the target platform has changed drastically with large screens, multi core CPUs and \u00a0GBs for RAM.<\/p>\n<p>The article lay the foundation for the optimization fixes. \u00a0It sounds fairly reasonable proposal.<\/p>\n<pre><span style=\"color: #222225;\">So, what is it about? As we know, Android contains a bunch of low-level C\/C++ code, which is compiled and acts as a backend for our java's frontend and android apps. Unfortunately, Google didn't put their best at focusing on optimization, so as a result we're using the same old flags set back in 2006 for Android Donut or anything which existed back then. As you guess, in 2006 we didn't have as powerful devices as now, we had to sacrifice performance for smaller code size, to fit to our little devices and run well on very low amount of memory. However, this is no longer a case, and by using newest compilers such as GCC 4.8 and properly setting flags, we can achieve something, which I call \"Android in 2014\".<\/span><\/pre>\n<address>\u00a0<\/address>\n<p><a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=2754997\" target=\"_blank\">link<\/a><\/p>\n<p>Update 10 Jun 14<\/p>\n<p>Flashed a new build on 9 Jun. \u00a0Performance, the jury is still out. \u00a0The usual smoothness in the interface is still there. \u00a0I noticed that the memory management has improved\/fixed. \u00a0April and May builds have strange behaviour. \u00a0All the apps works except for Google Camera. \u00a0Yet to find the root cause.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JustArchi, developer on XDA Developers has revealed a long series of optimization for tweaks Android. \u00a0The idea here is that the original compiler settings since Cupcake has not changed. \u00a0On the other hand, the target platform has changed drastically with&hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[222],"tags":[241,320,234],"class_list":["post-2916","post","type-post","status-publish","format-standard","hentry","category-smartphones","tag-android","tag-android04-4","tag-smartphone"],"_links":{"self":[{"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/posts\/2916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/comments?post=2916"}],"version-history":[{"count":6,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/posts\/2916\/revisions"}],"predecessor-version":[{"id":2948,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/posts\/2916\/revisions\/2948"}],"wp:attachment":[{"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/media?parent=2916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/categories?post=2916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/tags?post=2916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}