What is the best tool to test my javascript?

I am currently working on a JavaScript tool that, when executed, will eventually go through a node in the DOM. Since this can be a very expensive task, I would like to compare the performance of this script.

What is the best, free script comparison tool such as this in major browsers? Ideally, I need a tool (or a toolbox, even):

  • ** To generate a report on any form based on the test results. ** It can be as simple as a table showing the runtime, or as complex a task as creating some form of chart. It’s good anyway.
  • ** To be free. ** Not that I don’t believe in paying for software, I just don’t need a tool like this in my daily tasks.

If possible, I would also like the tool to generate different levels of complex pages so that I can stress check the DOM set. This is not a necessity - if I need it, I can write one myself; however, I would have thought that I would first question the community to find out if something already exists.

+3
source share
5 answers

Firebug JS, , , . Firebug, --. Venkman / JS Firefox, , Firebug.

, , , Firefox. IE , , javascript, ... JS- nazi , .

. , IE8 JS: http://blogs.msdn.com/ie/archive/2008/09/11/introducing-the-ie8-developer-tools-jscript-profiler.aspx. p >

+6

FireBug FireBug Lite console.time() console.timeEnd() , . Profiler FireBug , . , ,

+3

, Firebug JS-. , - Firefox.

+1

javascript

SunSpider JavaScript Benchmark

But I wonder where the download link is located :)

0
source

For JavaScript, XmlHttpRequest, DOM Access, Rendering Times and network traffic for IE6, 7 and 8, you can use the free dynaTrace AJAX Edition

0
source

Source: https://habr.com/ru/post/1696769/


All Articles