When used with -O=ADVANCED, the Google Closure Compiler can apply known optimizations to the code to improve performance. It seems that some performance fixes are as simple as inlining a function (eg. #5127), and the Closure Compiler could automate these with a build step.
Thoughts?