madelineTon.js/bench/index.html

32 lines
890 B
HTML
Raw Normal View History

2022-02-23 23:33:31 +01:00
<head>
</head>
<body>
<div id="view"></div>
<script>
console.l = console.log
console.log = function (text) {
console.l(text);
document.getElementById("view").innerHTML += text + "<br>"
}
var arr = {}
console.time = function (label) {
arr[label] = Date.now()
}
console.timeEnd = function (label) {
var end = Date.now()
console.log(label + " took " + (end - arr[label]))
}
</script>
<script src="jsbn_combined.js"></script>
<script src="long.js"></script>
<script src="bigint.js"></script>
<script src="prime.js"></script>
<script src="utils.js"></script>
<script>
setTimeout(function () {
console.log("AAAAAAAAAAAAAAA")
}, 1000)
pqPrimeFactorization("1724114033281923457")
</script>
</body>