THE PROBLEM: Native JavaScript is compiled into machine code by most scripting engines offering incredible performance boost, however interaction with host (browser) objects outside the JavaScript native environment raises unpredictability and considerable performance lag, particularly when dealing with screen-rendered DOM objects or objects which cause Disk I/O (such as WebSQL). THE SOLUTION: You can’t really get away from them, but keep your interaction with host objects to an absolute minimum.
THE PROBLEM: Native JavaScript is compiled into machine code by most scripting engines offering incredible performance boost, however interaction with host (browser) objects outside the JavaScript native environment raises unpredictability and considerable performance lag, particularly when dealing with screen-rendered DOM objects or objects which cause Disk I/O (such as WebSQL). THE SOLUTION: You can’t really get away from them, but keep your interaction with host objects to an absolute minimum.