AI, Data Science & Cloud Certificates from Google, IBM & Meta
The Most Addictive Python and SQL Courses
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Explore techniques for optimizing JavaScript performance in this conference talk from JSConf EU 2015. Discover common pitfalls in API usage and coding practices that can hinder compiler optimizations. Learn about inefficient iteration, repeated execution, inefficient copying, and API misuse. Examine the balance between performance gains and code maintainability. Delve into pattern specification, Abstract Syntax Tree (AST) transformation, matching, and rewriting. Gain insights into performance measurement techniques and see practical examples of optimization strategies. Enhance your ability to write faster, more efficient JavaScript code while considering the impact on code complexity and maintainability.
Syllabus
Intro
Why does JS performance matter?
Why do we optimize JavaScript code?
How do developers optimize JS?
Inefficient iteration
Repeated execution
Inefficient copying
Inefficient API usage
Performance vs. maintainability
Complexity of optimizations Do the optimizations increase the complexity of code?
Pattern specification
AST transformation
AST matching
AST rewriting
Performance measurement
Example
Conclusion
Taught by
JSConf