57db2174d5
FossilOrigin-Name: d8df25920a047d5cf2093cc6233128c5e6057a9104d0c4397e643645bd646fe1
66 lines
3.0 KiB
HTML
66 lines
3.0 KiB
HTML
<!doctype html>
|
|
<html lang="en-us">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
|
|
<link rel="stylesheet" href="common/emscripten.css"/>
|
|
<link rel="stylesheet" href="common/testing.css"/>
|
|
<title>sqlite3-api kvvfs batch SQL runner</title>
|
|
</head>
|
|
<body>
|
|
<header id='titlebar'><span>sqlite3-api kvvfs batch SQL runner</span></header>
|
|
<!-- emscripten bits -->
|
|
<figure id="module-spinner">
|
|
<div class="spinner"></div>
|
|
<div class='center'><strong>Initializing app...</strong></div>
|
|
<div class='center'>
|
|
On a slow internet connection this may take a moment. If this
|
|
message displays for "a long time", intialization may have
|
|
failed and the JavaScript console may contain clues as to why.
|
|
</div>
|
|
</figure>
|
|
<div class="emscripten" id="module-status">Downloading...</div>
|
|
<div class="emscripten">
|
|
<progress value="0" max="100" id="module-progress" hidden='1'></progress>
|
|
</div><!-- /emscripten bits -->
|
|
<p>
|
|
This page is for batch-running extracts from the output
|
|
of <tt>speedtest1 --script</tt>, as well as other standalone SQL
|
|
scripts. <span class='warning'>This variant runs with KVVFS and
|
|
has tiny size limits.</span>
|
|
</p>
|
|
<p id='warn-list' class='warning'>ACHTUNG: this file requires a generated input list
|
|
file. Run "make batch" from this directory to generate it.
|
|
</p>
|
|
<p id='warn-opfs' class='warning'>WARNING: if the WASMFS/OPFS layer crashes, this page may
|
|
become completely unresponsive and need to be closed and
|
|
reloaded to recover.
|
|
</p>
|
|
<hr>
|
|
<div>
|
|
<select class='disable-during-eval' id='sql-select'>
|
|
<option disabled selected>Populated via script code</option>
|
|
</select>
|
|
<button class='disable-during-eval' id='sql-run'>Run selected SQL</button>
|
|
<button class='disable-during-eval' id='sql-run-next'>Run next...</button>
|
|
<button class='disable-during-eval' id='sql-run-remaining'>Run all remaining...</button>
|
|
<button class='disable-during-eval' id='export-metrics'>Export metrics (WIP)</button>
|
|
<button class='disable-during-eval' id='db-reset'>Reset db</button>
|
|
<button id='output-clear'>Clear output</button>
|
|
<span class='input-wrapper'>
|
|
<input type='checkbox' class='disable-during-eval' id='cb-reverse-log-order' checked></input>
|
|
<label for='cb-reverse-log-order'>Reverse log order</label>
|
|
</span>
|
|
</div>
|
|
<hr>
|
|
<div id='reverse-log-notice' class='hidden'>(Log output is in reverse order, newest first!)</div>
|
|
<div id='test-output'></div>
|
|
<!-- batch-runner.js "should" work with sqlite3-kvvfs so long as
|
|
its data sets don't violate the the storage limits. -->
|
|
<script src="sqlite3-kvvfs.js"></script>
|
|
<script src="common/SqliteTestUtil.js"></script>
|
|
<script src="batch-runner.js"></script>
|
|
</body>
|
|
</html>
|