remove datatable unit tests
--- a/media/unit_testing/controller.js
+++ /dev/null
@@ -1,94 +1,1 @@
-var giTotalTestCount = 0;
-var giActiveModule = 0;
-var giModuleTests;
-var giStartTime;
-var giTest;
-var gbStop = false;
-var gtoTest;
-function fnTestStart ( sTestInfo )
-{
- gaoTest[ giActiveModule ].iTests++;
- document.getElementById('test_info').innerHTML +=
- (giActiveModule+1)+'.'+(giModuleTests+1)+'. '+sTestInfo+'... ';
- document.getElementById('test_number').innerHTML = giTotalTestCount+1;
- giModuleTests++;
- giTotalTestCount++;
-
- /* Set a timer to catch stalled script */
- gtoTest = setTimeout( function () {
- fnMessage( '<span class="error">WARNING - test script stalled. Likely a JS error</span>' );
- gbStop = true;
- }, 3000 );
-}
-
-function fnTestResult ( bResult )
-{
- clearTimeout( gtoTest );
- if ( bResult )
- {
- fnMessage( 'Passed' );
- }
- else
- {
- fnMessage( '<span class="error">FAILED</span>' );
- gbStop = true;
- fnEnd( false );
- }
-}
-
-function fnUnitStart( iTest )
-{
- if ( !gbStop )
- {
- giModuleTests = 0;
- window.parent.test_arena.location.href =
- (iTest==0?"":"../")+'templates/'+gaoTest[iTest].sTemplate+'.php?scripts='+gaoTest[iTest].sTest;
- giTest = iTest;
- }
-}
-
-function fnStartMessage( sMessage )
-{
- fnMessage( '<br><b>'+gaoTest[giTest].sGroup+' - '+sMessage+'</b>' );
-}
-
-function fnMessage( sMessage )
-{
- var nInfo = document.getElementById('test_info');
- nInfo.innerHTML += sMessage+'<br>';
- nInfo.scrollTop = nInfo.scrollHeight;
-}
-
-function fnUnitComplete()
-{
- if ( giActiveModule < gaoTest.length - 1 )
- {
- fnUnitStart( ++giActiveModule );
- }
- else
- {
- fnEnd( true );
- }
-}
-
-function fnEnd( bSuccess )
-{
- var iEndTime = new Date().getTime();
- var sTime = '<br>This test run took '+parseInt((iEndTime-giStartTime)/1000, 10)+
- ' second(s) to complete.';
-
- if ( bSuccess )
- {
- $('#test_running').html( 'Tests complete. '+giTotalTestCount+' tests were run.'+sTime );
- }
- else
- {
- $('#test_running').html( 'Unit tests failed at test '+giTotalTestCount+'.'+sTime );
- }
-}
-
-$(document).ready( function () {
- giStartTime = new Date().getTime();
- fnUnitStart( giActiveModule );
-} );
--- a/media/unit_testing/controller.php
+++ /dev/null
@@ -1,100 +1,1 @@
-<?php
- header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' );
- header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
- header( 'Cache-Control: no-store, no-cache, must-revalidate' );
- header( 'Cache-Control: post-check=0, pre-check=0', false );
- header( 'Pragma: no-cache' );
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
-<html>
- <head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
- <title>DataTables unit test controller</title>
-
- <style type="text/css" media="screen">
- #controller {
- font: 12px/1.45em "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
- margin: 0;
- padding: 0 0 0 0.5em;
- color: #333;
- background-color: #fff;
- }
-
- #test_info {
- position: absolute;
- top: 0;
- right: 0;
- width: 50%;
- height: 100%;
- font-size: 11px;
- overflow: auto;
- }
-
- .error {
- color: red;
- }
-
- #controller h1 {
- color: #4E6CA3;
- font-size: 18px;
- }
- </style>
-
- <script type="text/javascript" language="javascript" src="../js/jquery.js"></script>
- <script type="text/javascript" charset="utf-8">
- var gaoTest = [
- <?php
- function fnReadDir( &$aReturn, $path )
- {
- $rDir = opendir( $path );
- while ( ($file = readdir($rDir)) !== false )
- {
- if ( $file == "." || $file == ".." || $file == ".DS_Store" )
- {
- continue;
- }
- else if ( is_dir( $path.'/'.$file ) )
- {
- fnReadDir( $aReturn, $path.'/'.$file );
- }
- else
- {
- array_push( $aReturn, $path.'/'.$file );
- }
- }
- closedir($rDir);
- }
-
- /* Get the tests dynamically from the 'tests' directory, and their templates */
- $aFiles = array();
- fnReadDir( &$aFiles, "tests" );
-
- for ( $i=0 ; $i<count($aFiles) ; $i++ )
- {
- $sTemplate;
- $fp = fopen( $aFiles[$i], "r" );
- fscanf( $fp, "// DATA_TEMPLATE: %s", &$sTemplate );
- fclose( $fp );
-
- $aPath = split('/', $aFiles[$i]);
-
- echo '{ '.
- '"sTemplate": "'.$sTemplate.'", '.
- '"sTest": "'.$aFiles[$i].'", '.
- '"sGroup": "'.$aPath[1].'"},'."\n";
- }
-
- ?>
- null ];
- gaoTest.pop(); /* No interest in the null */
- </script>
- <script type="text/javascript" language="javascript" src="controller.js"></script>
- </head>
- <body id="controller">
- <h1>DataTables unit testing</h1>
- <div id="test_running">Running test: <span id="test_number"></span></div>
- <div id="test_info">
- <b>Test information:</b><br>
- </div>
- </body>
-</html>
+
--- a/media/unit_testing/index.html
+++ /dev/null
@@ -1,7 +1,1 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
-<html>
- <frameset rows="20%,80%">
- <frame name="controller" id="controller" src="controller.php">
- <frame name="test_arena" id="test_arena">
- </frameset>
-</html>
+
--- a/media/unit_testing/performance/draw.html
+++ /dev/null
@@ -1,482 +1,1 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico" />
-
- <title>DataTables example</title>
- <style type="text/css" title="currentStyle">
- @import "../../css/demo_page.css";
- @import "../../css/demo_table.css";
- </style>
- <script type="text/javascript" language="javascript" src="../../js/jquery.js"></script>
- <script type="text/javascript" language="javascript" src="../../js/jquery.dataTables.js"></script>
- <script type="text/javascript" charset="utf-8">
- $(document).ready(function() {
- var oTable = $('#example').dataTable();
- var oSettings = oTable.fnSettings();
- var iStart = new Date().getTime();
-
- //console.profile();
- //for ( var i=0, iLen=1000 ; i<iLen ; i++ )
- //{
- // oSettings._iDisplayLength = 100;
- // oTable.oApi._fnCalculateEnd( oSettings );
- // oTable.oApi._fnDraw( oSettings );
- //
- // oSettings._iDisplayLength = 10;
- // oTable.oApi._fnCalculateEnd( oSettings );
- // oTable.oApi._fnDraw( oSettings );
- //}
- //console.profileEnd();
-
- var iEnd = new Date().getTime();
- document.getElementById('output').innerHTML = "Test took "+(iEnd-iStart)+"mS";
- } );
- </script>
- </head>
- <body id="dt_example">
- <div id="container">
- <div class="full_width big">
- <i>DataTables</i> performance test - draw
- </div>
- <div id="output"></div>
-
- <div id="demo">
-<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
- <thead>
- <tr>
- <th>Rendering engine</th>
- <th>Browser</th>
- <th>Platform(s)</th>
- <th>Engine version</th>
- <th>CSS grade</th>
- </tr>
- </thead>
- <tbody>
- <tr class="gradeX">
- <td>Trident</td>
- <td>Internet
- Explorer 4.0</td>
- <td>Win 95+</td>
- <td class="center">4</td>
- <td class="center">X</td>
- </tr>
- <tr class="gradeC">
- <td>Trident</td>
- <td>Internet
- Explorer 5.0</td>
- <td>Win 95+</td>
- <td class="center">5</td>
- <td class="center">C</td>
- </tr>
- <tr class="gradeA">
- <td>Trident</td>
- <td>Internet
- Explorer 5.5</td>
- <td>Win 95+</td>
- <td class="center">5.5</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Trident</td>
- <td>Internet
- Explorer 6</td>
- <td>Win 98+</td>
- <td class="center">6</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Trident</td>
- <td>Internet Explorer 7</td>
- <td>Win XP SP2+</td>
- <td class="center">7</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Trident</td>
- <td>AOL browser (AOL desktop)</td>
- <td>Win XP</td>
- <td class="center">6</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Firefox 1.0</td>
- <td>Win 98+ / OSX.2+</td>
- <td class="center">1.7</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Firefox 1.5</td>
- <td>Win 98+ / OSX.2+</td>
- <td class="center">1.8</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Firefox 2.0</td>
- <td>Win 98+ / OSX.2+</td>
- <td class="center">1.8</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Firefox 3.0</td>
- <td>Win 2k+ / OSX.3+</td>
- <td class="center">1.9</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Camino 1.0</td>
- <td>OSX.2+</td>
- <td class="center">1.8</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Camino 1.5</td>
- <td>OSX.3+</td>
- <td class="center">1.8</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Netscape 7.2</td>
- <td>Win 95+ / Mac OS 8.6-9.2</td>
- <td class="center">1.7</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Netscape Browser 8</td>
- <td>Win 98SE+</td>
- <td class="center">1.7</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Netscape Navigator 9</td>
- <td>Win 98+ / OSX.2+</td>
- <td class="center">1.8</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Mozilla 1.0</td>
- <td>Win 95+ / OSX.1+</td>
- <td class="center">1</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Mozilla 1.1</td>
- <td>Win 95+ / OSX.1+</td>
- <td class="center">1.1</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Mozilla 1.2</td>
- <td>Win 95+ / OSX.1+</td>
- <td class="center">1.2</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Mozilla 1.3</td>
- <td>Win 95+ / OSX.1+</td>
- <td class="center">1.3</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Mozilla 1.4</td>
- <td>Win 95+ / OSX.1+</td>
- <td class="center">1.4</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Mozilla 1.5</td>
- <td>Win 95+ / OSX.1+</td>
- <td class="center">1.5</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Mozilla 1.6</td>
- <td>Win 95+ / OSX.1+</td>
- <td class="center">1.6</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Mozilla 1.7</td>
- <td>Win 98+ / OSX.1+</td>
- <td class="center">1.7</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Mozilla 1.8</td>
- <td>Win 98+ / OSX.1+</td>
- <td class="center">1.8</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Seamonkey 1.1</td>
- <td>Win 98+ / OSX.2+</td>
- <td class="center">1.8</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Gecko</td>
- <td>Epiphany 2.20</td>
- <td>Gnome</td>
- <td class="center">1.8</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Webkit</td>
- <td>Safari 1.2</td>
- <td>OSX.3</td>
- <td class="center">125.5</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Webkit</td>
- <td>Safari 1.3</td>
- <td>OSX.3</td>
- <td class="center">312.8</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Webkit</td>
- <td>Safari 2.0</td>
- <td>OSX.4+</td>
- <td class="center">419.3</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Webkit</td>
- <td>Safari 3.0</td>
- <td>OSX.4+</td>
- <td class="center">522.1</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Webkit</td>
- <td>OmniWeb 5.5</td>
- <td>OSX.4+</td>
- <td class="center">420</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Webkit</td>
- <td>iPod Touch / iPhone</td>
- <td>iPod</td>
- <td class="center">420.1</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Webkit</td>
- <td>S60</td>
- <td>S60</td>
- <td class="center">413</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Presto</td>
- <td>Opera 7.0</td>
- <td>Win 95+ / OSX.1+</td>
- <td class="center">-</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Presto</td>
- <td>Opera 7.5</td>
- <td>Win 95+ / OSX.2+</td>
- <td class="center">-</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Presto</td>
- <td>Opera 8.0</td>
- <td>Win 95+ / OSX.2+</td>
- <td class="center">-</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Presto</td>
- <td>Opera 8.5</td>
- <td>Win 95+ / OSX.2+</td>
- <td class="center">-</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Presto</td>
- <td>Opera 9.0</td>
- <td>Win 95+ / OSX.3+</td>
- <td class="center">-</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Presto</td>
- <td>Opera 9.2</td>
- <td>Win 88+ / OSX.3+</td>
- <td class="center">-</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Presto</td>
- <td>Opera 9.5</td>
- <td>Win 88+ / OSX.3+</td>
- <td class="center">-</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Presto</td>
- <td>Opera for Wii</td>
- <td>Wii</td>
- <td class="center">-</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Presto</td>
- <td>Nokia N800</td>
- <td>N800</td>
- <td class="center">-</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>Presto</td>
- <td>Nintendo DS browser</td>
- <td>Nintendo DS</td>
- <td class="center">8.5</td>
- <td class="center">C/A<sup>1</sup></td>
- </tr>
- <tr class="gradeC">
- <td>KHTML</td>
- <td>Konqureror 3.1</td>
- <td>KDE 3.1</td>
- <td class="center">3.1</td>
- <td class="center">C</td>
- </tr>
- <tr class="gradeA">
- <td>KHTML</td>
- <td>Konqureror 3.3</td>
- <td>KDE 3.3</td>
- <td class="center">3.3</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeA">
- <td>KHTML</td>
- <td>Konqureror 3.5</td>
- <td>KDE 3.5</td>
- <td class="center">3.5</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeX">
- <td>Tasman</td>
- <td>Internet Explorer 4.5</td>
- <td>Mac OS 8-9</td>
- <td class="center">-</td>
- <td class="center">X</td>
- </tr>
- <tr class="gradeC">
- <td>Tasman</td>
- <td>Internet Explorer 5.1</td>
- <td>Mac OS 7.6-9</td>
- <td class="center">1</td>
- <td class="center">C</td>
- </tr>
- <tr class="gradeC">
- <td>Tasman</td>
- <td>Internet Explorer 5.2</td>
- <td>Mac OS 8-X</td>
- <td class="center">1</td>
- <td class="center">C</td>
- </tr>
- <tr class="gradeA">
- <td>Misc</td>
- <td>NetFront 3.1</td>
- <td>Embedded devices</td>
- <td class="center">-</td>
- <td class="center">C</td>
- </tr>
- <tr class="gradeA">
- <td>Misc</td>
- <td>NetFront 3.4</td>
- <td>Embedded devices</td>
- <td class="center">-</td>
- <td class="center">A</td>
- </tr>
- <tr class="gradeX">
- <td>Misc</td>
- <td>Dillo 0.8</td>
- <td>Embedded devices</td>
- <td class="center">-</td>
- <td class="center">X</td>
- </tr>
- <tr class="gradeX">
- <td>Misc</td>
- <td>Links</td>
- <td>Text only</td>
- <td class="center">-</td>
- <td class="center">X</td>
- </tr>
- <tr class="gradeX">
- <td>Misc</td>
- <td>Lynx</td>
- <td>Text only</td>
- <td class="center">-</td>
- <td class="center">X</td>
- </tr>
- <tr class="gradeC">
- <td>Misc</td>
- <td>IE Mobile</td>
- <td>Windows Mobile 6</td>
- <td class="center">-</td>
- <td class="center">C</td>
- </tr>
- <tr class="gradeC">
- <td>Misc</td>
- <td>PSP browser</td>
- <td>PSP</td>
- <td class="center">-</td>
- <td class="center">C</td>
- </tr>
- <tr class="gradeU">
- <td>Other browsers</td>
- <td>All others</td>
- <td>-</td>
- <td class="center">-</td>
- <td class="center">U</td>
- </tr>
- </tbody>
- <tfoot>
- <tr>
- <th>Rendering engine</th>
- <th>Browser</th>
- <th>Platform(s)</th>
- <th>Engine version</th>
- <th>CSS grade</th>
- </tr>
- </tfoot>
-</table>
- </div>
- <div class="spacer"></div>
-
-
- <div id="footer" style="text-align:center;">
- <span style="font-size:10px;">
- DataTables © Allan Jardine 2008-2009.
- </span>
- </div>
- </div>
- </body>
-</html>
+
--- a/media/unit_testing/performance/large.php
+++ /dev/null
@@ -1,102 +1,1 @@
-<?php
- /* MySQL connection */
- include( $_SERVER['DOCUMENT_ROOT']."/datatables/mysql.php" ); /* ;-) */
-
- $gaSql['link'] = mysql_pconnect( $gaSql['server'], $gaSql['user'], $gaSql['password'] ) or
- die( 'Could not open connection to server' );
-
- mysql_select_db( $gaSql['db'], $gaSql['link'] ) or
- die( 'Could not select database '. $gaSql['db'] );
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico" />
-
- <title>DataTables example</title>
- <style type="text/css" title="currentStyle">
- @import "../../css/demo_page.css";
- @import "../../css/demo_table.css";
- </style>
- <script type="text/javascript" language="javascript" src="../../js/jquery.js"></script>
- <script type="text/javascript" language="javascript" src="../../js/jquery.dataTables.js"></script>
- <script type="text/javascript" charset="utf-8">
- $(document).ready(function() {
- var iStart = new Date().getTime();
-
- if ( typeof console != 'undefined' ) {
- console.profile();
- }
- for ( var i=0 ; i<1 ; i++ )
- {
- var oTable = $('#example').dataTable({"bDestroy": true});
- }
- if ( typeof console != 'undefined' ) {
- console.profileEnd();
- }
-
- var iEnd = new Date().getTime();
- document.getElementById('output').innerHTML = "Test took "+(iEnd-iStart)+"mS";
- } );
- </script>
- </head>
- <body id="dt_example">
- <div id="container">
- <div class="full_width big">
- <i>DataTables</i> performance test - draw
- </div>
- <div id="output"></div>
-
- <div id="demo">
-<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
- <thead>
- <tr>
- <th>id</th>
- <th>name</th>
- <th>phone</th>
- <th>email</th>
- <th>city</th>
- <th>zip</th>
- <th>state</th>
- <th>country</th>
- <th>zip2</th>
- </tr>
- </thead>
- <tbody>
-<?php
- $sQuery = "
- SELECT *
- FROM testData
- LIMIT 2000
- ";
- $rResult = mysql_query( $sQuery, $gaSql['link'] ) or die(mysql_error());
- while ( $aRow = mysql_fetch_array( $rResult ) )
- {
- echo '<tr>';
- echo '<td><a href="1">'.$aRow['id'].'</a></td>';
- echo '<td>'.$aRow['name'].'</td>';
- echo '<td>'.$aRow['phone'].'</td>';
- echo '<td>'.$aRow['email'].'</td>';
- echo '<td>'.$aRow['city'].'</td>';
- echo '<td>'.$aRow['zip'].'</td>';
- echo '<td>'.$aRow['state'].'</td>';
- echo '<td>'.$aRow['country'].'</td>';
- echo '<td>'.$aRow['zip2'].'</td>';
- echo '</tr>';
-
- }
-?>
- </tbody>
-</table>
- </div>
- <div class="spacer"></div>
-
- <div id="footer" style="text-align:center;">
- <span style="font-size:10px;">
- DataTables © Allan Jardine 2008-2009.
- </span>
- </div>
- </div>
- </body>
-</html>
--- a/media/unit_testing/performance/page.html
+++ /dev/null
@@ -1,477 +1,1 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico" />
-
- <title>DataTables example</title>
- <style type="text/css" title="currentStyle">
- @import "../../css/demo_page.css";
- @import "../../css/demo_table.css";
- </style>
- <script type="text/javascript" language="javascript" src="../../js/jquery.js"></script>
- <script type="text/javascript" language="javascript" src="../../js/jquery.dataTables.js"></script>
- <script type="text/javascript" charset="utf-8">
- $(document).ready(function() {
- var oTable = $('#example').dataTable();
- var oSettings = oTable.fnSettings();
- var iStart = new Date().getTime();
-
- //for ( var i=0, iLen=100 ; i<iLen ; i++ )
- //{
- console.profile( );
- oTable.fnPageChange( "next" );
- oTable.fnPageChange( "previous" );
- console.profileEnd( );
- //}
-
- var iEnd = new Date().getTime();
- document.getElementById('output').innerHTML = "Test took "+(iEnd-iStart)+"mS";
- } );
- </script>
- </head>
- <body id="dt_example">
- <div id="container">
- <div class="full_width big">
- <i>DataTables</i> performance test - draw
-