| Index: chrome/test/data/media/html/media_stat_perf.html
|
| diff --git a/chrome/test/data/media/html/media_fps_perf.html b/chrome/test/data/media/html/media_stat_perf.html
|
| similarity index 83%
|
| rename from chrome/test/data/media/html/media_fps_perf.html
|
| rename to chrome/test/data/media/html/media_stat_perf.html
|
| index be3378ca4c5e05905176be01a4ced0e252de4c9e..954e1f2ffbb1f624e34f160d02447cdced1a437f 100644
|
| --- a/chrome/test/data/media/html/media_fps_perf.html
|
| +++ b/chrome/test/data/media/html/media_stat_perf.html
|
| @@ -1,9 +1,9 @@
|
| -<!-- Used by media_fps_perf to calculate <video> performance statistics. -->
|
| +<!-- Used by media_stat_perf to calculate <video> performance statistics. -->
|
|
|
| <!DOCTYPE html>
|
| <html lang="en-US">
|
| <head>
|
| - <title>FPS Perf Test</title>
|
| + <title>CPU, Memory, and FPS Perf Test</title>
|
| </head>
|
| <body>
|
| <div id="log">
|
| @@ -16,13 +16,6 @@
|
| <script type="text/javascript">
|
| var video = document.querySelector("video");
|
|
|
| - var decodedFrames = 0;
|
| - var droppedFrames = 0;
|
| - var decodedFPS = [];
|
| - var droppedFPS = [];
|
| - var startTime = 0;
|
| - var intID = 0; // interval ID, used to end the window intervals.
|
| -
|
| function calculateStats() {
|
| if (video.readyState <= HTMLMediaElement.HAVE_CURRENT_DATA ||
|
| video.paused || video.ended)
|
| @@ -70,9 +63,6 @@
|
| }
|
|
|
| function startTest(url) {
|
| - // End any previously started tests.
|
| - window.clearInterval(intID);
|
| -
|
| video.src = url;
|
| video.play();
|
| }
|
|
|