markdown-wasm/test/benchmark/results/index.html
Rasmus Andersson 3e65f82ae1 adds benchmarks
2020-10-16 11:31:37 -07:00

47 lines
No EOL
928 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Benchmarks</title>
<style>
body {
padding: 2em;
font:14px sans-serif;
background: #f5f5f5;
}
img {
display: block;
/*border: 1px solid #eee;*/
margin: 1em 0 2em 0;
background: white;
}
</style>
</head>
<body>
<script>
function update() {
const r = Math.random()
document.body.innerHTML = `
Average ops/second
<img src="avg-ops-per-sec.svg?${r}">
Average throughput in megabytes
<img src="avg-throughput.svg?${r}">
Minmax parse time (lower is better)
<img src="minmax-parse-time.svg?${r}">
`
// min-mean-max candlestick ops/second
// <img src="min-mean-max-candlestick.svg?${r}">
}
update()
// setInterval(update, 500)
setTimeout(update, 1000)
</script>
</body>
</html>