diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /third_party/webkit/PerformanceTests/ARES-6/Basic/test.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/webkit/PerformanceTests/ARES-6/Basic/test.html')
-rw-r--r-- | third_party/webkit/PerformanceTests/ARES-6/Basic/test.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/third_party/webkit/PerformanceTests/ARES-6/Basic/test.html b/third_party/webkit/PerformanceTests/ARES-6/Basic/test.html new file mode 100644 index 0000000000..10c7cadd77 --- /dev/null +++ b/third_party/webkit/PerformanceTests/ARES-6/Basic/test.html @@ -0,0 +1,34 @@ +<html> +<head> +<title>Basic</title> +<script src="ast.js"></script> +<script src="basic.js"></script> +<script src="caseless_map.js"></script> +<script src="lexer.js"></script> +<script src="number.js"></script> +<script src="parser.js"></script> +<script src="random.js"></script> +<script src="state.js"></script> +<script src="util.js"></script> +<script src="benchmark.js"></script> +<script> + function runTest() { + try { + var result = runBenchmark(); + document.getElementById("result-summary").innerHTML = "That took " + result + " ms."; + } catch (e) { + document.getElementById("result-summary").innerHTML = "Failed: " + e; + } + } +</script> +</head> +<body> +<h1>Basic</h1> +<p> + <div id="result-summary"></div> + <div><a href="javascript:runTest()">Start Test</a></div> +</p> +</body> +</html> + + |