"Writing high-performance JavaScript"

Source: Internet
Author: User

English Links: Writing Fast, Memory-efficient JavaScript

Many JavaScript engines, such as Google's V8

Engines (used by chrome and node) are designed for large JavaScript applications that need to be executed quickly. If you are a developer and care about memory usage and page performance, you should understand how the JavaScript engine works in the user's browser. Whether it's V8,spidermonkey (Firefox) Carakan (Opera), Chakra (IE) or other engines, doing this can help you better optimize your application . This is not to say that you should specifically optimize for a particular browser or engine, and don't do that.

However, you should ask yourself a few questions:

  • Is it possible to make the code more efficient in my code?
  • What optimizations are being made by the mainstream JavaScript engine
  • What is an engine that cannot be optimized, and does the garbage collector (GC) Reclaim what I expect?

Read the full text


More Java,java study, Java face test? Http://techfoxbbs.com

"Writing high-performance JavaScript"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.