This document discusses techniques for optimizing the performance of HTML5 games on mobile devices. It begins with an overview of HTML5 game architecture and the WebKit rendering process. It then analyzes sources of performance issues, such as painting size and DOM complexity. The document recommends several optimization techniques, including DOM/canvas hybrid rendering, static object pooling, smart repainting of invalidated areas only, and minimizing source image scaling. Case studies demonstrating these techniques for real games are also presented.