glitterdust
Version:
Glitterdust is a tool to test and benchmark JavaScript instrumenters
35 lines • 1.42 kB
HTML
<html>
<head>
<meta charset="UTF-8">
<title>Glitterdust-Demo</title>
<script src="http://cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/ace.js"></script>
<style>/* @CSS */</style>
<script>/* @JS */</script>
</head>
<body>
<div id="main-div">
<div id="target-div">
<label>Target: <select id="target-select"></select></label></label>
<div class="editor" id="target-editor"></div>
<button id="run-button">Run</button>
</div>
<div id="master-div">
<label>Master: <select id="master-select"></select></label>
<div class="editor" id="master-editor"></div>
</div>
<div id="instrumented-div">
<label>Instrumented:</label>
<div class="editor" id="instrumented-editor"></div>
</div>
<div id="output-div">
<label>Original result: <span id="result-span" class="code"></span></label>
<label>Original error: <span id="error-span" class="code"></span></label>
<label>Original time: <span id="time-span" class="code"></span></label>
<label>Instrumented result: <span id="instrumented-result-span" class="code"></span></label>
<label>Instrumented error: <span id="instrumented-error-span" class="code"></span></label>
<label>Instrumented time: <span id="instrumented-time-span" class="code"></span></label>
</div>
</div>
</body>
</html>