This project has moved and is read-only. For the latest updates, please go here.

Performance tips

  • Use local variables whenever possible - they are much faster than globals. This means you should always use var to declare variables.
  • Avoid the following language features (they tend to disable optimizations):
    • eval
    • arguments
    • with
  • Use strict mode - it is slightly faster.

Last edited Dec 29, 2010 at 3:55 AM by paulbartrum, version 2

Comments

No comments yet.