mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 10:37:20 +00:00
f6338d9109
It preserves comments and text positions, enabling us to do syntax highlighting. Hopefully.
59 lines
1.8 KiB
HTML
59 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Esprima: Benchmarks</title>
|
|
<link rel="stylesheet" type="text/css" href="../assets/style.css"/>
|
|
<script src="../esprima.js"></script>
|
|
<script src="../assets/json2.js"></script>
|
|
<script src="benchmarks.js"></script>
|
|
<script src="3rdparty/benchmark.js"></script>
|
|
<script src="3rdparty/XMLHttpRequest.js"></script>
|
|
<script>
|
|
/*jslint browser:true, sloppy:true */
|
|
/*global setupBenchmarks:true*/
|
|
window.onload = function () {
|
|
window.setTimeout(setupBenchmarks, 211);
|
|
};
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<div class="topbar">
|
|
<ul class="nav">
|
|
<li><a href="../index.html">← Home</a></li>
|
|
<li><a href="http://github.com/ariya/esprima">Code</a></li>
|
|
<li><a href="http://wiki.esprima.org">Documentation</a></li>
|
|
<li><a href="http://issues.esprima.org">Issues</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<h1>Benchmarks <small>show the speed</small></h1>
|
|
|
|
<p>Time measurement is carried out using <a href="http://benchmarkjs.com" target="_blank">Benchmark.js</a><span id="benchmarkjs-version"></span>.</p>
|
|
|
|
<p>Esprima version <span id="version"></span>.</p>
|
|
|
|
<p id="status">Please wait...</p>
|
|
|
|
<p>
|
|
<input id="runquick" type="submit" value="Run quick benchmarks" disabled xstyle="visibility: hidden;"/>
|
|
<input id="runfull" type="submit" value="Run full benchmarks" disabled xstyle="visibility: hidden;"/>
|
|
</p>
|
|
|
|
<p id="result"></p>
|
|
|
|
<p><strong>Note</strong>: On a modern machine and up-to-date web browsers,
|
|
running full benchmarks suite takes around 1 minute.<br>
|
|
For the quick benchmarks, the running time is only about 15 seconds.</p>
|
|
|
|
<div class="footer"><strong>Esprima</strong> is created by
|
|
<a href="http://ariya.ofilabs.com/about" target="_blank">Ariya Hidayat</a>. Follow <a href="http://twitter.com/ariyahidayat">@ariyahidayat</a> on Twitter.
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|