| 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 | 8 |
| 9 <body onload="nacllib.waitForModulesAndRunTests();" | 9 <body onload="nacllib.waitForModulesAndRunTests();" |
| 10 onunload="nacllib.cleanUp();" > | 10 onunload="nacllib.cleanUp();" > |
| 11 | 11 |
| 12 <h1>36 Native Client Demos, One Page (Stress Test)</h1> | 12 <h1>36 Native Client Demos, One Page (Stress Test)</h1> |
| 13 <p> | 13 <p> |
| 14 Life, Voronoi, and Earth as 36 Native Client processes all on one html page. | 14 Life, Voronoi, and Earth as 36 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" nexe="life" type="application/x-nacl-srpc" width=128 h
eight=128> |
| 19 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 19 <noembed> |
| 20 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 20 Your browser does not appear to support Native Client. |
| 21 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 21 Visit http://code.google.com/p/nativeclient/ to get started. |
| 22 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 22 <noembed/> |
| 23 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 23 </embed> |
| 24 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=12
8 height=128 /> |
| 25 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=128
height=128 /> |
| 26 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=128
height=128 /> |
| 27 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=128 h
eight=128 /> |
| 28 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=12
8 height=128 /> |
| 24 <br> | 29 <br> |
| 25 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 30 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=12
8 height=128 /> |
| 26 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 31 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=128
height=128 /> |
| 27 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 32 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=128 h
eight=128 /> |
| 28 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 33 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=128 h
eight=128 /> |
| 29 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 34 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=12
8 height=128 /> |
| 30 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 35 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=128
height=128 /> |
| 31 <br> | 36 <br> |
| 32 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 37 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=128
height=128 /> |
| 33 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 38 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=128 h
eight=128 /> |
| 34 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 39 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=12
8 height=128 /> |
| 35 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 40 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=12
8 height=128 /> |
| 36 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 41 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=128
height=128 /> |
| 37 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 42 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=128 h
eight=128 /> |
| 38 <br> | 43 <br> |
| 39 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 44 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=128 h
eight=128 /> |
| 40 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 45 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=12
8 height=128 /> |
| 41 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 46 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=128
height=128 /> |
| 42 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 47 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=128
height=128 /> |
| 43 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 48 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=128 h
eight=128 /> |
| 44 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 49 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=12
8 height=128 /> |
| 45 <br> | 50 <br> |
| 46 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 51 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=12
8 height=128 /> |
| 47 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 52 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=128
height=128 /> |
| 48 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 53 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=128 h
eight=128 /> |
| 49 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 54 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=128 h
eight=128 /> |
| 50 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 55 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=12
8 height=128 /> |
| 51 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 56 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=128
height=128 /> |
| 52 <br> | 57 <br> |
| 53 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 58 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=128
height=128 /> |
| 54 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 59 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=128 h
eight=128 /> |
| 55 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 60 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=12
8 height=128 /> |
| 56 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" widt
h=128 height=128 /> | 61 <embed name="nacl_module" nexe="voronoi" type="application/x-nacl-srpc" width=12
8 height=128 /> |
| 57 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width=
128 height=128 /> | 62 <embed name="nacl_module" nexe="earth" type="application/x-nacl-srpc" width=128
height=128 /> |
| 58 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=1
28 height=128 /> | 63 <embed name="nacl_module" nexe="life" type="application/x-nacl-srpc" width=128 h
eight=128 /> |
| 59 <br> | 64 <br> |
| 60 | 65 |
| 61 <div id=status></div> | 66 <div id=status></div> |
| 62 <script type="text/javascript" src="nacl_js_lib.js"></script> | 67 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 63 <script type="text/javascript"> | 68 <script type="text/javascript"> |
| 64 //<![CDATA[ | 69 //<![CDATA[ |
| 65 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), | 70 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), |
| 66 document.getElementById("status"), | 71 document.getElementById("status"), |
| 67 50); | 72 50); |
| 68 // no real test yet | 73 // no real test yet |
| 69 nacllib.test = function() { return ""; }; | 74 nacllib.test = function() { return ""; }; |
| 70 //]]> | 75 //]]> |
| 71 </script> | 76 </script> |
| 72 </body> | 77 </body> |
| 73 </html> | 78 </html> |
| OLD | NEW |