Gone are the days when your Javascript’s performance was no issue, developers used to show more love for their server than client’s browser, scripts used to delay the site loading times. There are many best practices for your JS code like having all your scripts at the bottom, etc. If you are looking for the best practices and approaches for you JS code then you should read Steve Souders, Douglas Crockford, Ben Cherry or google it.
But its not easy to remember all such best practices while you code…
what if you had a tool which would love to review your code and point out all the issues?
Yes this is very much possible, this fantastic tool called JSLint. They call it The Javascript code quality tool. and it is rightly so. You have to paste your JS code on the site and it’ll point out the issues, and guide you to improve the quality, hence improving the performance of you JS.
3 replies on “Analyzing your Javascripts performance”
[…] This post was mentioned on Twitter by Pinceladas da Web and Uilson Della Rosa, Umair Jabbar. Umair Jabbar said: Analyzing your Javascripts performance | Umair Jabbar – Personal Blog, Kaizen http://t.co/k2vIVZh […]
There was a recent fork of JSLint that makes it a little more flexible. It’s worth checking out if you get frustrated with JSLint. It’s called JSHint. http://jshint.com/
Thank you Psayre, I will try using JSHint and post a review as soon as I get some time.