treehouse : what would you like to learn today?
Web Design Web Development iOS Development

How to test Javascript script speed and efficiency?

  • I'm looking for a way to test script speed and efficiency. Caching a variable like $(this) can increase performance if it's used multiple times. Is there a way to actually test this? I've searched around a bit but I haven't come across much. I remember coming across a website that does this, I just didn't bookmark it =/