summaryrefslogtreecommitdiffstats
path: root/js/src/devtools/gc-ubench/index.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /js/src/devtools/gc-ubench/index.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'js/src/devtools/gc-ubench/index.html')
-rw-r--r--js/src/devtools/gc-ubench/index.html84
1 files changed, 84 insertions, 0 deletions
diff --git a/js/src/devtools/gc-ubench/index.html b/js/src/devtools/gc-ubench/index.html
new file mode 100644
index 000000000..d5ab2a083
--- /dev/null
+++ b/js/src/devtools/gc-ubench/index.html
@@ -0,0 +1,84 @@
+<html>
+<head>
+ <title>GC uBench</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+
+ <!-- Include benchmark modules. -->
+ <script>var tests = new Map();</script>
+ <script src="benchmarks/noAllocation.js"></script>
+ <script src="benchmarks/globalArrayNewObject.js"></script>
+ <script src="benchmarks/globalArrayArrayLiteral.js"></script>
+ <script src="benchmarks/globalArrayLargeArray.js"></script>
+ <script src="benchmarks/globalArrayLargeObject.js"></script>
+ <script src="benchmarks/globalArrayObjectLiteral.js"></script>
+ <script src="benchmarks/globalArrayReallocArray.js"></script>
+ <script src="benchmarks/globalArrayBuffer.js"></script>
+ <script src="benchmarks/globalArrayFgFinalized.js"></script>
+ <script src="benchmarks/largeArrayPropertyAndElements.js"></script>
+ <script src="benchmarks/selfCyclicWeakMap.js"></script>
+ <script src="benchmarks/pairCyclicWeakMap.js"></script>
+ <script src="benchmarks/textNodes.js"></script>
+ <script src="benchmarks/bigTextNodes.js"></script>
+ <script src="benchmarks/events.js"></script>
+ <script src="benchmarks/expandoEvents.js"></script>
+ <script src="benchmarks/propertyTreeSplitting.js"></script>
+
+ <script src="harness.js"></script>
+
+</head>
+
+<body onload="onload()" onunload="onunload()">
+
+<canvas id="graph" width="1080" height="400" style="padding-left:10px"></canvas>
+<canvas id="memgraph" width="1080" height="400" style="padding-left:10px"></canvas>
+<div id="memgraph-disabled" style="display: none"><i>No performance.mozMemory object available. Set dom.enable_memory_stats to True to see heap size info.</i></div>
+
+<hr>
+
+<div id='track-sizes-div'>
+ Show heap size graph: <input id='track-sizes' type='checkbox' onclick="trackHeapSizes(this.checked)">
+</div>
+
+<div>
+ <input type="button" id="stop" value="Pause" onclick="stopstart()"></input>
+</div>
+
+<div>
+ Duration: <input type="text" id="test-duration" size="3" value="8" onchange="duration_changed()"></input>s
+ <input type="button" id="test-one" value="Run Test" onclick="run_one_test()"></input>
+ <input type="button" id="test-all" value="Run All Tests" onclick="run_all_tests()"></input>
+</div>
+
+<div>
+ Currently running test load:
+ <select id="test-selection" required onchange="test_changed()"></select>
+</div>
+
+<div>
+ &nbsp;&nbsp;&nbsp;&nbsp;Time remaining: <span id="test-progress">(not running)</span>
+</div
+
+<div>
+ &nbsp;&nbsp;&nbsp;&nbsp;60 fps: <span id="pct60">n/a</span>
+ &nbsp;&nbsp;&nbsp;&nbsp;45 fps: <span id="pct45">n/a</span>
+ &nbsp;&nbsp;&nbsp;&nbsp;30 fps: <span id="pct30">n/a</span>
+</div
+
+<div>
+ &nbsp;&nbsp;&nbsp;&nbsp;Garbage items per frame:
+ <input type="text" id="garbage-per-frame" size="5" value="8K"
+ onchange="garbage_per_frame_changed()"></input>
+</div>
+<div>
+ &nbsp;&nbsp;&nbsp;&nbsp;Garbage piles:
+ <input type="text" id="garbage-total" size="5" value="8M"
+ onchange="garbage_total_changed()"></input>
+</div>
+
+<div id="results-Area">
+ Test Results:
+ <div id="results-display" style="padding-left: 10px; border: 1px solid black;"></div>
+</div>
+
+</body>
+</html>