ceph/qa/workunits/erasure-code/bench.html
Loic Dachary 8363a94a60 erasure-code: HTML display of benchmark results
The ceph_erasure_code_benchmark output is converted into a JSON series
suitable to display in HTML with the http://www.flotcharts.org/
library. A self contained copy of the HTML,JS,CSS files is included for
durability and can be used from the source tree with:

    CEPH_ERASURE_CODE_BENCHMARK=src/ceph_erasure_code_benchmark  \
    PLUGIN_DIRECTORY=src/.libs \
        qa/workunits/erasure-code/bench.sh fplot jerasure |
        tee qa/workunits/erasure-code/bench.js

and display with:

    firefox qa/workunits/erasure-code/bench.html

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-08-04 11:42:05 +02:00

56 lines
1.7 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Erasure Code Plugins Benchmarks</title>
<link href="examples.css" rel="stylesheet" type="text/css">
<script language="javascript" type="text/javascript" src="jquery.js"></script>
<script language="javascript" type="text/javascript" src="jquery.flot.js"></script>
<script language="javascript" type="text/javascript" src="jquery.flot.categories.js"></script>
<script language="javascript" type="text/javascript" src="bench.js"></script>
<script language="javascript" type="text/javascript" src="plot.js"></script>
</head>
<body>
<div id="header">
<h2>Erasure Code Plugins Benchmarks</h2>
</div>
<div id="content">
<div class="demo-container">
<div id="encode" class="demo-placeholder"></div>
</div>
<p>encode: Y = GB/s, X = K/M</p>
<div class="demo-container">
<div id="decode" class="demo-placeholder"></div>
</div>
<p>decode: Y = GB/s, X = K/M/erasures</p>
<div class="demo-container">
<div id="encode4KB" class="demo-placeholder"></div>
</div>
<p>encode 4KB: Y = GB/s, X = K/M</p>
<div class="demo-container">
<div id="decode4KB" class="demo-placeholder"></div>
</div>
<p>decode 4KB: Y = GB/s, X = K/M/erasures</p>
<div class="demo-container">
<div id="encode1MB" class="demo-placeholder"></div>
</div>
<p>encode 1MB: Y = GB/s, X = K/M</p>
<div class="demo-container">
<div id="decode1MB" class="demo-placeholder"></div>
</div>
<p>decode 1MB: Y = GB/s, X = K/M/erasures</p>
</div>
</body>
</html>