| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Stress Test Demo</title> | 4 <title>Stress Test Demo</title> |
| 5 <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> | 5 <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> |
| 6 <META HTTP-EQUIV="Expires" CONTENT="-1"> | 6 <META HTTP-EQUIV="Expires" CONTENT="-1"> |
| 7 </head> | 7 </head> |
| 8 <body onload="nacllib.waitForModulesAndRunTests();" | 8 <body onload="nacllib.waitForModulesAndRunTests();" |
| 9 onunload="nacllib.cleanUp();" > | 9 onunload="nacllib.cleanUp();" > |
| 10 | 10 |
| 11 <h1>Nine Native Client Demos, One Page</h1> | 11 <h1>Nine Native Client Demos, One Page</h1> |
| 12 <p> | 12 <p> |
| 13 Life, Voronoi, and Earth as nine Native Client processes on one HTML page. | 13 Life, Voronoi, and Earth as nine Native Client processes on one HTML page. |
| 14 Normally, you wouldn't want this many CPU-intensive NaCl processes running on | 14 Normally, you wouldn't want this many CPU-intensive NaCl processes running on |
| 15 a single web page. This is primarily an artificial stress test. | 15 a single web page. This is primarily an artificial stress test. |
| 16 </p> | 16 </p> |
| 17 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=2
56 height=256 /> | 17 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=256 h
eight=256> |
| 18 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=256 height=256 /> | 18 <noembed> |
| 19 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
256 height=256 /> | 19 Your browser does not appear to support Native Client. |
| 20 Visit http://code.google.com/p/nativeclient/ to get started. |
| 21 <noembed/> |
| 22 </embed> |
| 23 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=25
6 height=256 /> |
| 24 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=256
height=256 /> |
| 20 <br> | 25 <br> |
| 21 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
256 height=256 /> | 26 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=256
height=256 /> |
| 22 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=2
56 height=256 /> | 27 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=256 h
eight=256 /> |
| 23 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=256 height=256 /> | 28 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=25
6 height=256 /> |
| 24 <br> | 29 <br> |
| 25 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=256 height=256 /> | 30 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=25
6 height=256 /> |
| 26 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
256 height=256 /> | 31 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=256
height=256 /> |
| 27 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=2
56 height=256 /> | 32 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=256 h
eight=256 /> |
| 28 <br> | 33 <br> |
| 29 | 34 |
| 30 <div id=status></div> | 35 <div id=status></div> |
| 31 | 36 |
| 32 <script type="text/javascript" src="nacl_js_lib.js"></script> | 37 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 33 <script type="text/javascript"> | 38 <script type="text/javascript"> |
| 34 //<![CDATA[ | 39 //<![CDATA[ |
| 35 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), | 40 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), |
| 36 document.getElementById("status"), | 41 document.getElementById("status"), |
| 37 50); | 42 50); |
| 38 | 43 |
| 39 nacllib.test = function() { return ""; }; | 44 nacllib.test = function() { return ""; }; |
| 40 //]]> | 45 //]]> |
| 41 </script> | 46 </script> |
| 42 </body> | 47 </body> |
| 43 </html> | 48 </html> |
| OLD | NEW |