4 <title>Underscore Test Suite</title>
5 <link rel="stylesheet" href="vendor/qunit.css" type="text/css" media="screen" />
6 <script type="text/javascript" src="vendor/jquery.js"></script>
7 <script type="text/javascript" src="vendor/qunit.js"></script>
8 <script type="text/javascript" src="vendor/jslitmus.js"></script>
9 <script type="text/javascript" src="../underscore.js"></script>
10 <script type="text/javascript" src="../../lib/underscore.string.js"></script>
11 <script type="text/javascript" src="collections.js"></script>
12 <script type="text/javascript" src="arrays.js"></script>
13 <script type="text/javascript" src="functions.js"></script>
14 <script type="text/javascript" src="objects.js"></script>
15 <script type="text/javascript" src="utility.js"></script>
16 <script type="text/javascript" src="chaining.js"></script>
17 <script type="text/javascript" src="speed.js"></script>
20 <div class="underscore-test">
21 <h1 id="qunit-header">Underscore Test Suite</h1>
22 <h2 id="qunit-banner"></h2>
23 <h2 id="qunit-userAgent"></h2>
24 <ol id="qunit-tests"></ol>
26 <h1 class="qunit-header">Underscore Speed Suite</h1>
28 A representative sample of the functions are benchmarked here, to provide
29 a sense of how fast they might run in different browsers.
30 Each iteration runs on an array of 1000 elements.<br /><br />
31 For example, the 'intersect' test measures the number of times you can
32 find the intersection of two thousand-element arrays in one second.
36 <script type="text/html" id="template">
38 if (data) { data += 12345; }; %>