| 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" src="life.nexe" type="application/x-nacl" width=256 he
ight=256 /> |
| 18 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=256 height=256 /> | 18 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl" width=256
height=256 /> |
| 19 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
256 height=256 /> | 19 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl" width=256 h
eight=256 /> |
| 20 <br> | 20 <br> |
| 21 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
256 height=256 /> | 21 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl" width=256 h
eight=256 /> |
| 22 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=2
56 height=256 /> | 22 <embed name="nacl_module" src="life.nexe" type="application/x-nacl" width=256 he
ight=256 /> |
| 23 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=256 height=256 /> | 23 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl" width=256
height=256 /> |
| 24 <br> | 24 <br> |
| 25 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=256 height=256 /> | 25 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl" width=256
height=256 /> |
| 26 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
256 height=256 /> | 26 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl" width=256 h
eight=256 /> |
| 27 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=2
56 height=256 /> | 27 <embed name="nacl_module" src="life.nexe" type="application/x-nacl" width=256 he
ight=256 /> |
| 28 <br> | 28 <br> |
| 29 | 29 |
| 30 <div id=status></div> | 30 <div id=status></div> |
| 31 | 31 |
| 32 <script type="text/javascript" src="nacl_js_lib.js"></script> | 32 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 33 <script type="text/javascript"> | 33 <script type="text/javascript"> |
| 34 //<![CDATA[ | 34 //<![CDATA[ |
| 35 var nacllib = new NaclLib("nacl_module", "status", 50); | 35 var nacllib = new NaclLib("nacl_module", "status", 50); |
| 36 | 36 |
| 37 nacllib.test = function() { return ""; }; | 37 nacllib.test = function() { return ""; }; |
| 38 //]]> | 38 //]]> |
| 39 </script> | 39 </script> |
| 40 </body> | 40 </body> |
| 41 </html> | 41 </html> |
| OLD | NEW |