Complexity of optimizations Do the optimizations increase the complexity of code?
11
Pattern specification
12
AST transformation
13
AST matching
14
AST rewriting
15
Performance measurement
16
Example
17
Conclusion
Description:
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.