JSON Wars: The Empire SAX Back

Posted by & filed under Android, Data Management, Purple Robot.

Two of the most persistent issues that I have to constantly address with Purple Robot its performance and resource footprint. After over a year, I’ve continued to refine and modify the code to squeeze out more responsiveness and battery life. In the current Purple Robot code, I just committed some code that increased battery life 176%, decreased average CPU load by 65%, at the cost of increasing the average memory footprint from 31.7MB to 36.4MB (as measured on a Samsung Galaxy Nexus running Android 4.3).

How did I do it?