| 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 | 11 |
| 12 <h1>18 Native Client Demos, One Page (Stress Test)</h1> | 12 <h1>18 Native Client Demos, One Page (Stress Test)</h1> |
| 13 <p> | 13 <p> |
| 14 Life, Voronoi, and Earth as 18 Native Client processes all on one html page. | 14 Life, Voronoi, and Earth as 18 Native Client processes all on one html page. |
| 15 Normally, you wouldn't want this many NaCl processes running on a single web | 15 Normally, you wouldn't want this many NaCl processes running on a single web |
| 16 page. This is primarily an artificial stress test. | 16 page. This is primarily an artificial stress test. |
| 17 </p> | 17 </p> |
| 18 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 18 <embed name="nacl_module" src="life.nexe" type="application/x-nacl" width=128 he
ight=128 /> |
| 19 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 19 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl" width=128
height=128 /> |
| 20 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 20 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl" width=128 h
eight=128 /> |
| 21 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 21 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl" width=128 h
eight=128 /> |
| 22 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 22 <embed name="nacl_module" src="life.nexe" type="application/x-nacl" width=128 he
ight=128 /> |
| 23 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 23 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl" width=128
height=128 /> |
| 24 <br> | 24 <br> |
| 25 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 25 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl" width=128
height=128 /> |
| 26 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 26 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl" width=128 h
eight=128 /> |
| 27 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 27 <embed name="nacl_module" src="life.nexe" type="application/x-nacl" width=128 he
ight=128 /> |
| 28 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 28 <embed name="nacl_module" src="life.nexe" type="application/x-nacl" width=128 he
ight=128 /> |
| 29 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 29 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl" width=128
height=128 /> |
| 30 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 30 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl" width=128 h
eight=128 /> |
| 31 <br> | 31 <br> |
| 32 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 32 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl" width=128 h
eight=128 /> |
| 33 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 33 <embed name="nacl_module" src="life.nexe" type="application/x-nacl" width=128 he
ight=128 /> |
| 34 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 34 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl" width=128
height=128 /> |
| 35 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 35 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl" width=128
height=128 /> |
| 36 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 36 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl" width=128 h
eight=128 /> |
| 37 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 37 <embed name="nacl_module" src="life.nexe" type="application/x-nacl" width=128 he
ight=128 /> |
| 38 <br> | 38 <br> |
| 39 | 39 |
| 40 <div id=status></div> | 40 <div id=status></div> |
| 41 | 41 |
| 42 <script type="text/javascript" src="nacl_js_lib.js"></script> | 42 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 43 <script type="text/javascript"> | 43 <script type="text/javascript"> |
| 44 //<![CDATA[ | 44 //<![CDATA[ |
| 45 var nacllib = new NaclLib("nacl_module", "status", 50); | 45 var nacllib = new NaclLib("nacl_module", "status", 50); |
| 46 | 46 |
| 47 nacllib.test = function() { return ""; }; | 47 nacllib.test = function() { return ""; }; |
| 48 //]]> | 48 //]]> |
| 49 </script> | 49 </script> |
| 50 </body> | 50 </body> |
| 51 </html> | 51 </html> |
| OLD | NEW |