Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

97 lines (81 sloc) 2.92 kB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>SlickSpeed Selectors Test</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen">
<script src="config/frameworks.js" type="text/javascript"></script>
<script src="config/selectors.js" type="text/javascript"></script>
<script src="system/slickspeed.js" type="text/javascript"></script>
<div id="container">
<div id="controls">
<a class="stop" href="#">stop tests</a>
<a class="start" href="#">start tests</a>
<h2>Speed/validity selectors test for frameworks.</h2>
<p>Every framework runs in his own iFrame, thus no conflicts can happen. Tests are run selector by selector, with an interval to prevent the browser from freeezing.</p>
<p>Tests are run in a neutral environment, no library or framework is included in the main javascript test.</p>
<p>Under firefox, disable firebug for more accurate results, as most frameworks could throw warnings, slowing down the dom query process.</p>
<p>Tests are run against a local copy of <a href="template.html">this document</a>.</p>
<div id="frames"></div>
<script type="text/javascript">
<thead id="thead">
<th class="selectors-title">selectors</th>
<script type="text/javascript">
SlickSpeed.forEach(SlickSpeed.frameworks, function(f) {
document.write("<th class='framework'>" + + "</th>");
<tbody id="tbody">
<script type="text/javascript">
SlickSpeed.forEach(SlickSpeed.selectors, function(s) {
document.write("<tr><th class='selector'>" + s + "</th>");
SlickSpeed.forEach(SlickSpeed.frameworks, function(f) {
document.write("<td class='empty'></td>");
<tfoot id="tfoot">
<th class="score-title"><strong>final time (less is better)</strong></th>
<script type="text/javascript">
SlickSpeed.forEach(SlickSpeed.frameworks, function(f) {
document.write("<td class='score'>0</td>");
<table id="legend">
<th>the faster</th>
<th>the slower</th>
<th>exception thrown or zero elements found</th>
<th>different returned elements</th>
<td class="good"></td>
<td class="bad"></td>
<td class="exception"></td>
<td class="mismatch"></td>
<div id="footer">
<p class="footer">copyright &copy; 2009 <a href="">Valerio Proietti</a> | MIT License | <a href="">download from github</a></p>
Jump to Line
Something went wrong with that request. Please try again.