My application makes heavy use of HTML5 Canvas2D. After profiling, I found that the largest number of function calls are HTML5 functions Canvas.stroke () and .fill (). Therefore, to further improve the performance of my application, I need to optimize painting on Canvas. I am considering a Chrome NaCl module. I found that it has its own pp :: Graphics2D interface for drawing 2D graphics. Does anyone know if NaCl's 2D GUI is faster than HTML5 Canvas 2D?
source
share