| 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" 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 | 44 | 
| 40 <div id=status></div> | 45 <div id=status></div> | 
| 41 | 46 | 
| 42 <script type="text/javascript" src="nacl_js_lib.js"></script> | 47 <script type="text/javascript" src="nacl_js_lib.js"></script> | 
| 43 <script type="text/javascript"> | 48 <script type="text/javascript"> | 
| 44 //<![CDATA[ | 49 //<![CDATA[ | 
| 45 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), | 50 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), | 
| 46                           document.getElementById("status"), | 51                           document.getElementById("status"), | 
| 47                           50); | 52                           50); | 
| 48 | 53 | 
| 49 nacllib.test = function() { return ""; }; | 54 nacllib.test = function() { return ""; }; | 
| 50 //]]> | 55 //]]> | 
| 51 </script> | 56 </script> | 
| 52 </body> | 57 </body> | 
| 53 </html> | 58 </html> | 
| OLD | NEW | 
|---|