| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <!-- | 4 <!-- |
| 5 Copyright (C) 2007 Apple Inc. All rights reserved. | 5 Copyright (C) 2007 Apple Inc. All rights reserved. |
| 6 | 6 |
| 7 Redistribution and use in source and binary forms, with or without | 7 Redistribution and use in source and binary forms, with or without |
| 8 modification, are permitted provided that the following conditions | 8 modification, are permitted provided that the following conditions |
| 9 are met: | 9 are met: |
| 10 1. Redistributions of source code must retain the above copyright | 10 1. Redistributions of source code must retain the above copyright |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 return output; | 64 return output; |
| 65 } | 65 } |
| 66 | 66 |
| 67 function print(str) { | 67 function print(str) { |
| 68 var console = document.getElementById("console"); | 68 var console = document.getElementById("console"); |
| 69 console.appendChild(document.createTextNode(str)); | 69 console.appendChild(document.createTextNode(str)); |
| 70 console.appendChild(document.createElement("br")); | 70 console.appendChild(document.createElement("br")); |
| 71 } | 71 } |
| 72 </script> | 72 </script> |
| 73 | 73 |
| 74 <script src="../json2.js"></script> |
| 75 <script src="../../ui/sunspider_uitest.js"></script> |
| 76 |
| 74 <script src="sunspider-test-prefix.js"></script> | 77 <script src="sunspider-test-prefix.js"></script> |
| 75 <script src="sunspider-analyze-results.js"></script> | 78 <script src="sunspider-analyze-results.js"></script> |
| 76 <script src="sunspider-compare-results.js"></script> | 79 <script src="sunspider-compare-results.js"></script> |
| 77 | 80 |
| 78 <script src="json2.js"></script> | |
| 79 <script src="../../ui/sunspider_uitest.js"></script> | |
| 80 | |
| 81 <script> | 81 <script> |
| 82 // At this point the analysis is complete (see sunspider-analyze-results.js). | 82 // At this point the analysis is complete (see sunspider-analyze-results.js). |
| 83 automation.SetDone(); | 83 automation.SetDone(); |
| 84 </script> | 84 </script> |
| 85 | 85 |
| 86 <script> | 86 <script> |
| 87 var output2 = output; | 87 var output2 = output; |
| 88 | 88 |
| 89 function compare(other) | 89 function compare(other) |
| 90 { | 90 { |
| 91 document.getElementById("console").innerHTML = ""; | 91 document.getElementById("console").innerHTML = ""; |
| 92 var output1 = pivot(eval("(" + decodeURI(other.split("?")[1]) + ")")); | 92 var output1 = pivot(eval("(" + decodeURI(other.split("?")[1]) + ")")); |
| 93 sunspiderCompareResults(output1, output2); | 93 sunspiderCompareResults(output1, output2); |
| 94 } | 94 } |
| 95 </script> | 95 </script> |
| 96 | 96 |
| 97 | 97 |
| 98 </body> | 98 </body> |
| 99 </html> | 99 </html> |
| OLD | NEW |