Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Unified Diff: native_client_sdk/src/examples/benchmarks/index.html

Issue 664543003: Benchmark sample for SDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/examples/benchmarks/index.html
diff --git a/native_client_sdk/src/examples/api/media_stream_audio/index.html b/native_client_sdk/src/examples/benchmarks/index.html
similarity index 60%
copy from native_client_sdk/src/examples/api/media_stream_audio/index.html
copy to native_client_sdk/src/examples/benchmarks/index.html
index dafb02174f9a85d4b07cfcfae2f1134b49d18607..898b9180a233aae25921c3583e2bc0d806ddced5 100644
--- a/native_client_sdk/src/examples/api/media_stream_audio/index.html
+++ b/native_client_sdk/src/examples/benchmarks/index.html
@@ -12,13 +12,23 @@ found in the LICENSE file.
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript" src="example.js"></script>
</head>
-<body data-width="640" data-height="480" {{attrs}}>
+<body data-width="0" data-height="0" {{attrs}}>
<h1>{{title}}</h1>
<h2>Status: <code id="statusField">NO-STATUS</code></h2>
- <p>The MediaStream Audio example demonstrates how to capture audio data from
- an audio input device.</p>
<!-- The NaCl plugin will be embedded inside the element with id "listener".
See common.js.-->
+ <div>
+ A benchmark suite for Native Client.
+ <br>
+ <input type="submit" id="benchmark" value="Run Benchmarks">
+ <br>
+ <iframe width="640" height="200" id="result" name="result"> </iframe>
+ <br>
+ BinaryTrees, Chameneos, and NBody can be found on the
+ <a href="http://benchmarksgame.alioth.debian.org/">
+ Computer Language Benchmark Game site.
+ </a>
+ </div>
<div id="listener"></div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698