#Javascript-Optimization
2 notas · última:
Optimizing Javascript for fun and for profit
The page collects practical JavaScript optimization habits: avoid unnecessary work, string comparisons, shape changes, indirection, cache misses, large objects, and weak data structures, while insisting that benchmarking and profiling come first.
Optimize (Concatenate and Minify) RequireJS Projects
The article shows how to use the RequireJS Optimizer with a build profile to concatenate and minify a TodoMVC Backbone.js app, reducing requests and file size while keeping the app behavior the same.
