I'm getting pretty good as a front-end dev, but lack knowledge in optimizing for speed. I feel like I use too many frameworks, and write too much code. Do you have any advice, for resources I can check out to get better at optimizing front-end code for speed?
closed as off-topic by gnat, BЈовић, MichaelT, Jim G., Thomas Owens♦ Jul 31 at 16:20
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – gnat, BЈовић, MichaelT, Jim G., Thomas Owens
In general the advice is to measure the performance of your code using a profiler, which profiler you use depends on which browser you're testing/targeting.
A recent article from earlier this year with hints and tips can be found at A List Apart which has some useful information on what areas to look at to improve performance and actually have an impact along with some metrics from Google and Amazon.
With that in mind you can then use your profiler to decide what's most affecting your code and optimise accordingly.
As a personal recommendation. I think the IE10 developer tools profiler is well worth a look, regardless of what you think of IE's legacy.