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

Side by Side Diff: tests/npapi_bridge/npapi_perf.html

Issue 1092005: Issue 1092005 (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: Created 10 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html> 3 <html>
4 <!-- Copyright 2008 Google Inc. All rights reserved. --> 4 <!-- Copyright 2008 Google Inc. All rights reserved. -->
5 <head> 5 <head>
6 <title>NPAPI Bridge RPC Performance Tests</title> 6 <title>NPAPI Bridge RPC Performance Tests</title>
7 <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 7 <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
8 <META HTTP-EQUIV="Expires" CONTENT="-1"> 8 <META HTTP-EQUIV="Expires" CONTENT="-1">
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 <!-- 10 <!--
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 } 89 }
90 90
91 function doOnUnload() { 91 function doOnUnload() {
92 clearTimeout(loadTimer); 92 clearTimeout(loadTimer);
93 } 93 }
94 --> 94 -->
95 </script> 95 </script>
96 </head> 96 </head>
97 <body onload="doOnLoad();" onunload="doOnUnload();"> 97 <body onload="doOnLoad();" onunload="doOnUnload();">
98 <h1>Timed NPAPI Bridge Demo </h1> 98 <h1>Timed NPAPI Bridge Demo </h1>
99 <embed id="nacl" src="npapi_test.nexe" type="application/x-nacl-npapi" 99 <embed id="nacl" nexe="npapi_test" type="application/x-nacl-npapi"
100 width="0" height="0" /> 100 width="0" height="0">
101 <noembed>
102 Your browser does not appear to support Native Client.
103 Visit http://code.google.com/p/nativeclient/ to get started.
104 <noembed/>
105 </embed>
101 <script type="application/x-javascript"> 106 <script type="application/x-javascript">
102 <!-- 107 <!--
103 var nacl = document.getElementById('nacl'); 108 var nacl = document.getElementById('nacl');
104 // Create a NativeClient version of the benchmark. 109 // Create a NativeClient version of the benchmark.
105 var IntTestNativeClient = function() { 110 var IntTestNativeClient = function() {
106 return nacl.nullMethod(0); 111 return nacl.nullMethod(0);
107 } 112 }
108 BenchIntTest = new Benchmark('IntTest', IntTestNativeClient); 113 BenchIntTest = new Benchmark('IntTest', IntTestNativeClient);
109 var StringTestNativeClient = function() { 114 var StringTestNativeClient = function() {
110 return nacl.nullMethod("hello world"); 115 return nacl.nullMethod("hello world");
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 </thead> 151 </thead>
147 </table> 152 </table>
148 <h2>Click the above button to run the benchmark.</h2> 153 <h2>Click the above button to run the benchmark.</h2>
149 <table summary="A box containing execution logging output"> 154 <table summary="A box containing execution logging output">
150 <tr> 155 <tr>
151 <td id="LogOutput"></td> 156 <td id="LogOutput"></td>
152 </tr> 157 </tr>
153 </table> 158 </table>
154 </body> 159 </body>
155 </html> 160 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698