Home | History | Annotate | Download | only in select-readtransactions
      1 <!DOCTYPE HTML>
      2 <html>
      3 <title>Select read-transactions</title>
      4 <script src="../head.js"></script>
      5 <script src="../common.js"></script>
      6 <script>
      7 var idCounter = 0;
      8 
      9 function transactionCallback(tx) {
     10   tx.executeSql('SELECT * FROM Test WHERE ID = ?', [idCounter++],
     11                 function(tx, data) {}, function(tx, error) {});
     12 }
     13 </script>
     14 
     15 <body>
     16 <script>
     17   runPerformanceTest({
     18     dbName: "SelectReadTransactions",
     19     readOnly: true,
     20     insertRowsAtSetup: true,
     21     transactionCallback: transactionCallback,
     22     customRunTransactions: null
     23   });
     24 </script>
     25 </body>
     26 </html>
     27