File: test.html

package info (click to toggle)
underscore 1.1.6-1%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 568 kB
  • sloc: makefile: 23
file content (41 lines) | stat: -rw-r--r-- 1,585 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE HTML>
<html>
<head>
  <title>Underscore Test Suite</title>
  <link rel="stylesheet" href="vendor/qunit.css" type="text/css" media="screen" />
  <script type="text/javascript" src="vendor/jquery.js"></script>
  <script type="text/javascript" src="vendor/qunit.js"></script>
  <script type="text/javascript" src="vendor/jslitmus.js"></script>
  <script type="text/javascript" src="../underscore.js"></script>
  <script type="text/javascript" src="collections.js"></script>
  <script type="text/javascript" src="arrays.js"></script>
  <script type="text/javascript" src="functions.js"></script>
  <script type="text/javascript" src="objects.js"></script>
  <script type="text/javascript" src="utility.js"></script>
  <script type="text/javascript" src="chaining.js"></script>
  <script type="text/javascript" src="speed.js"></script>
</head>
<body>
  <h1 id="qunit-header">Underscore Test Suite</h1>
  <h2 id="qunit-banner"></h2>
  <h2 id="qunit-userAgent"></h2>
  <ol id="qunit-tests"></ol>
  <br />
  <h1 class="qunit-header">Underscore Speed Suite</h1>
  <p>
    A representative sample of the functions are benchmarked here, to provide
    a sense of how fast they might run in different browsers.
    Each iteration runs on an array of 1000 elements.<br /><br />
    For example, the 'intersect' test measures the number of times you can
    find the intersection of two thousand-element arrays in one second.
  </p>
  <br />

  <script type="text/html" id="template">
      <%
      if (data) { data += 12345; }; %>
      <li><%= data %></li>
  </script>

</body>
</html>