| <!DOCTYPE HTML> |
| <html> |
| <title>Select transactions</title> |
| <script src="../head.js"></script> |
| <script src="../common.js"></script> |
| <script> |
| var idCounter = 0; |
| |
| function transactionCallback(tx) { |
| tx.executeSql('SELECT * FROM Test WHERE ID = ?', [idCounter++], |
| function(tx, data) {}, function(tx, error) {}); |
| } |
| </script> |
| |
| <body> |
| <script> |
| runPerformanceTest({ |
| dbName: "SelectTransactions", |
| readOnly: false, |
| insertRowsAtSetup: true, |
| transactionCallback: transactionCallback, |
| customRunTransactions: null |
| });</script> |
| </body> |
| </html> |