views:

124

answers:

3

Duplicate of: Are there any good Javascript code coverage tools?


Can I find out how often the available JavaScript functions are executed on a page? I have a quite big file with a lot of JS functions and I am not sure if every one of them is really needed. That's what I'd like to find out.

+3  A: 

Firebug for firefox has a profiler built in, which will show you this information plus a wealth of other information

krosenvold
A: 

you can use JavaScript profilers , like YUI Profiler.

Moran
A: 

I don't need the runtimes. I have a qutie big file with a lot of js functions and I am not sure if every one of them is really needed. That's what I'd like to find out. Can Firebug achieve that?

Yes, but you are looking for a coverage tool. I'm not sure firebug is the best choice.
krosenvold
And you should really update your original question instead of adding a new response. Google "javascript coverage" and you'll find lots of tools
krosenvold
This is a comment, not an answer. Please move it to a comment or edit your question.
Geoffrey Chetwood