s

JavaScript performance comparison

Test case created

Preparation code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<div class="wrapper">
  <div class="scrolls">
  <div class="imageDiv">
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
        <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
        <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
       <img src="http://placehold.it/50x50" />
    </div>
  </div>
  </div>
</body>
</html>

Preparation code output

Untitled Document

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
zx
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > < html xmlns = "http://www.w3.org/1999/xhtml" > < head > < meta http - equiv = "Content-Type"
content = "text/html; charset=iso-8859-1" / > < title > Untitled Document < /title>
</head >

< body > < div class = "wrapper" > < div class = "scrolls" > < div class = "imageDiv" > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < /div>
  </div > < /div>
</body > < /html>
pending…
as
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > < html xmlns = "http://www.w3.org/1999/xhtml" > < head > < meta http - equiv = "Content-Type"
content = "text/html; charset=iso-8859-1" / > < title > Untitled Document < /title>
</head >

< body > < div class = "wrapper" > < div class = "scrolls" > < div class = "imageDiv" > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < img src = "http://placehold.it/50x50" / > < /div>
  </div > < /div>
</body > < /html>
pending…

You can edit these tests or add even more tests to this page by appending /edit to the URL.

Compare results of other browsers

0 comments

Add a comment