| OLD | NEW |
| 1 <?php | 1 <?php |
| 2 chdir('..'); | 2 chdir('..'); |
| 3 include 'common.inc'; | 3 include 'common.inc'; |
| 4 include './benchmarks/data.inc.php'; | 4 include './benchmarks/data.inc.php'; |
| 5 $page_keywords = array('Benchmarks','Webpagetest','Website Speed Test','Page Spe ed'); | 5 $page_keywords = array('Benchmarks','Webpagetest','Website Speed Test','Page Spe ed'); |
| 6 $page_description = "WebPagetest benchmark test details"; | 6 $page_description = "WebPagetest benchmark test details"; |
| 7 $benchmark = ''; | 7 $benchmark = ''; |
| 8 if (array_key_exists('benchmark', $_REQUEST)) { | 8 if (array_key_exists('benchmark', $_REQUEST)) { |
| 9 $benchmark = $_REQUEST['benchmark']; | 9 $benchmark = $_REQUEST['benchmark']; |
| 10 $info = GetBenchmarkInfo($benchmark); | 10 $info = GetBenchmarkInfo($benchmark); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 $time = $date->getTimestamp(); | 26 $time = $date->getTimestamp(); |
| 27 if ($time > $test_time) | 27 if ($time > $test_time) |
| 28 $test_time = $time; | 28 $test_time = $time; |
| 29 } | 29 } |
| 30 } | 30 } |
| 31 } | 31 } |
| 32 } | 32 } |
| 33 $metrics = array('docTime' => 'Load Time (onload)',· | 33 $metrics = array('docTime' => 'Load Time (onload)',· |
| 34 'SpeedIndex' => 'Speed Index', | 34 'SpeedIndex' => 'Speed Index', |
| 35 'TTFB' => 'Time to First Byte',· | 35 'TTFB' => 'Time to First Byte',· |
| 36 'basePageSSLTime' => 'Base Page SSL Time', |
| 36 'titleTime' => 'Time to Title',· | 37 'titleTime' => 'Time to Title',· |
| 37 'render' => 'Time to Start Render',· | 38 'render' => 'Time to Start Render',· |
| 38 'visualComplete' => 'Time to Visually Complete',· | 39 'visualComplete' => 'Time to Visually Complete',· |
| 39 'lastVisualChange' => 'Last Visual Change', | 40 'lastVisualChange' => 'Last Visual Change', |
| 40 'fullyLoaded' => 'Load Time (Fully Loaded)',· | 41 'fullyLoaded' => 'Load Time (Fully Loaded)',· |
| 41 'server_rtt' => 'Estimated RTT to Server', | 42 'server_rtt' => 'Estimated RTT to Server', |
| 42 'docCPUms' => 'CPU Busy Time', | 43 'docCPUms' => 'CPU Busy Time', |
| 43 'domElements' => 'Number of DOM Elements',· | 44 'domElements' => 'Number of DOM Elements',· |
| 44 'connections' => 'Connections',· | 45 'connections' => 'Connections',· |
| 45 'requests' => 'Requests (Fully Loaded)',· | 46 'requests' => 'Requests (Fully Loaded)',· |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 title: \"$chart_title\", | 351 title: \"$chart_title\", |
| 351 legend: \"always\"} | 352 legend: \"always\"} |
| 352 ); | 353 ); |
| 353 charts.push('$id');"; | 354 charts.push('$id');"; |
| 354 echo "</script>\n"; | 355 echo "</script>\n"; |
| 355 } | 356 } |
| 356 } | 357 } |
| 357 } | 358 } |
| 358 }···· | 359 }···· |
| 359 ?> | 360 ?> |
| OLD | NEW |