Remove replay performance tests as it's not actively maintained
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Nov 2013 04:36:18 +0000 (04:36 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Nov 2013 04:36:18 +0000 (04:36 +0000)
https://bugs.webkit.org/show_bug.cgi?id=124764

Reviewed by Andreas Kling.

PerformanceTests:

Removed the replay performance tests. We can add them back when time comes.

* Replay/Chinese/chinaz.com.replay: Removed.
* Replay/Chinese/www.163.com.replay: Removed.
* Replay/Chinese/www.alipay.com.replay: Removed.
* Replay/Chinese/www.baidu.com.replay: Removed.
* Replay/Chinese/www.csdn.net.replay: Removed.
* Replay/Chinese/www.douban.com.replay: Removed.
* Replay/Chinese/www.hao123.com.replay: Removed.
* Replay/Chinese/www.xinhuanet.com.replay: Removed.
* Replay/Chinese/www.xunlei.com.replay: Removed.
* Replay/Chinese/www.youku.com.replay: Removed.
* Replay/English/beatonna.livejournal.com.replay: Removed.
* Replay/English/cakewrecks.blogspot.com.replay: Removed.
* Replay/English/chemistry.about.com.replay: Removed.
* Replay/English/digg.com.replay: Removed.
* Replay/English/en.wikipedia.org-rorschach_test.replay: Removed.
* Replay/English/icanhascheezburger.com.replay: Removed.
* Replay/English/imgur.com-gallery.replay: Removed.
* Replay/English/online.wsj.com.replay: Removed.
* Replay/English/stockoverflow.com-best-comment.replay: Removed.
* Replay/English/www.alibaba.com.replay: Removed.
* Replay/English/www.amazon.com-kindle.replay: Removed.
* Replay/English/www.apple.com.replay: Removed.
* Replay/English/www.cnet.com.replay: Removed.
* Replay/English/www.dailymotion.com.replay: Removed.
* Replay/English/www.ehow.com-prevent-fire.replay: Removed.
* Replay/English/www.filestube.com-amy-adams.replay: Removed.
* Replay/English/www.foxnews.replay: Removed.
* Replay/English/www.huffingtonpost.com.replay: Removed.
* Replay/English/www.imdb.com-twilight.replay: Removed.
* Replay/English/www.mozilla.com-all-order.replay: Removed.
* Replay/English/www.php.net.replay: Removed.
* Replay/English/www.reddit.com.replay: Removed.
* Replay/English/www.telegraph.co.uk.replay: Removed.
* Replay/English/www.w3.org-htmlcss.replay: Removed.
* Replay/English/www.w3schools.com-html.replay: Removed.
* Replay/English/www.youtube.com-music.replay: Removed.
* Replay/French/www.orange.fr.replay: Removed.
* Replay/Italian/www.repubblica.it.replay: Removed.
* Replay/Japanese/2ch.net-newsplus.replay: Removed.
* Replay/Japanese/entameblog.seesaa.net.replay: Removed.
* Replay/Japanese/ja.wikipedia.org.replay: Removed.
* Replay/Japanese/www.hatena.ne.jp.replay: Removed.
* Replay/Japanese/www.livedoor.com.replay: Removed.
* Replay/Japanese/www.nicovideo.jp.replay: Removed.
* Replay/Japanese/www.rakuten.co.jp.replay: Removed.
* Replay/Japanese/www.yahoo.co.jp.replay: Removed.
* Replay/Korean/www.naver.com.replay: Removed.
* Replay/Persian/blogfa.com.replay: Removed.
* Replay/Polish/www.wp.pl.replay: Removed.
* Replay/Portuguese/www.uol.com.br.replay: Removed.
* Replay/Russian/lenta.ru.replay: Removed.
* Replay/Russian/vkontakte.ru-help.replay: Removed.
* Replay/Russian/www.ixbt.com.replay: Removed.
* Replay/Russian/www.kp.ru.replay: Removed.
* Replay/Russian/www.liveinternet.ru.replay: Removed.
* Replay/Russian/www.pravda.ru.replay: Removed.
* Replay/Russian/www.rambler.ru.replay: Removed.
* Replay/Russian/www.ucoz.ru.replay: Removed.
* Replay/Russian/www.yandex.ru.replay: Removed.
* Replay/Spanish/www.taringa.net.replay: Removed.
* Replay/Swedish/www.flashback.se.replay: Removed.
* Replay/Swedish/www.tradera.com.replay: Removed.
* Replay/www.google.com.replay: Removed.
* Replay/www.techcrunch.com.replay: Removed.
* Replay/www.youtube.com.replay: Removed.

Tools:

Removed the feature.

* Scripts/webkitpy/performance_tests/perftest.py:
(SingleProcessPerfTest.__init__):
(PerfTestFactory):
* Scripts/webkitpy/performance_tests/perftest_unittest.py:
* Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner._parse_args):
(PerfTestsRunner._collect_tests):
* Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
(MainTest.test_collect_tests_with_ignored_skipped_list):
(MainTest.test_default_args):
* Scripts/webkitpy/thirdparty/__init__.py:
(AutoinstallImportHook.find_module):
(AutoinstallImportHook._install_unittest2):
* Scripts/webkitpy/thirdparty/__init___unittest.py:
(ThirdpartyTest.test_imports):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159803 268f45cc-cd09-0410-ab3c-d52691b4dbfc

73 files changed:
PerformanceTests/ChangeLog
PerformanceTests/Replay/Chinese/chinaz.com.replay [deleted file]
PerformanceTests/Replay/Chinese/www.163.com.replay [deleted file]
PerformanceTests/Replay/Chinese/www.alipay.com.replay [deleted file]
PerformanceTests/Replay/Chinese/www.baidu.com.replay [deleted file]
PerformanceTests/Replay/Chinese/www.csdn.net.replay [deleted file]
PerformanceTests/Replay/Chinese/www.douban.com.replay [deleted file]
PerformanceTests/Replay/Chinese/www.hao123.com.replay [deleted file]
PerformanceTests/Replay/Chinese/www.xinhuanet.com.replay [deleted file]
PerformanceTests/Replay/Chinese/www.xunlei.com.replay [deleted file]
PerformanceTests/Replay/Chinese/www.youku.com.replay [deleted file]
PerformanceTests/Replay/English/beatonna.livejournal.com.replay [deleted file]
PerformanceTests/Replay/English/cakewrecks.blogspot.com.replay [deleted file]
PerformanceTests/Replay/English/chemistry.about.com.replay [deleted file]
PerformanceTests/Replay/English/digg.com.replay [deleted file]
PerformanceTests/Replay/English/en.wikipedia.org-rorschach_test.replay [deleted file]
PerformanceTests/Replay/English/icanhascheezburger.com.replay [deleted file]
PerformanceTests/Replay/English/imgur.com-gallery.replay [deleted file]
PerformanceTests/Replay/English/online.wsj.com.replay [deleted file]
PerformanceTests/Replay/English/stockoverflow.com-best-comment.replay [deleted file]
PerformanceTests/Replay/English/www.alibaba.com.replay [deleted file]
PerformanceTests/Replay/English/www.amazon.com-kindle.replay [deleted file]
PerformanceTests/Replay/English/www.apple.com.replay [deleted file]
PerformanceTests/Replay/English/www.cnet.com.replay [deleted file]
PerformanceTests/Replay/English/www.dailymotion.com.replay [deleted file]
PerformanceTests/Replay/English/www.ehow.com-prevent-fire.replay [deleted file]
PerformanceTests/Replay/English/www.filestube.com-amy-adams.replay [deleted file]
PerformanceTests/Replay/English/www.foxnews.replay [deleted file]
PerformanceTests/Replay/English/www.huffingtonpost.com.replay [deleted file]
PerformanceTests/Replay/English/www.imdb.com-twilight.replay [deleted file]
PerformanceTests/Replay/English/www.mozilla.com-all-order.replay [deleted file]
PerformanceTests/Replay/English/www.php.net.replay [deleted file]
PerformanceTests/Replay/English/www.reddit.com.replay [deleted file]
PerformanceTests/Replay/English/www.telegraph.co.uk.replay [deleted file]
PerformanceTests/Replay/English/www.w3.org-htmlcss.replay [deleted file]
PerformanceTests/Replay/English/www.w3schools.com-html.replay [deleted file]
PerformanceTests/Replay/English/www.youtube.com-music.replay [deleted file]
PerformanceTests/Replay/French/www.orange.fr.replay [deleted file]
PerformanceTests/Replay/Italian/www.repubblica.it.replay [deleted file]
PerformanceTests/Replay/Japanese/2ch.net-newsplus.replay [deleted file]
PerformanceTests/Replay/Japanese/entameblog.seesaa.net.replay [deleted file]
PerformanceTests/Replay/Japanese/ja.wikipedia.org.replay [deleted file]
PerformanceTests/Replay/Japanese/www.hatena.ne.jp.replay [deleted file]
PerformanceTests/Replay/Japanese/www.livedoor.com.replay [deleted file]
PerformanceTests/Replay/Japanese/www.nicovideo.jp.replay [deleted file]
PerformanceTests/Replay/Japanese/www.rakuten.co.jp.replay [deleted file]
PerformanceTests/Replay/Japanese/www.yahoo.co.jp.replay [deleted file]
PerformanceTests/Replay/Korean/www.naver.com.replay [deleted file]
PerformanceTests/Replay/Persian/blogfa.com.replay [deleted file]
PerformanceTests/Replay/Polish/www.wp.pl.replay [deleted file]
PerformanceTests/Replay/Portuguese/www.uol.com.br.replay [deleted file]
PerformanceTests/Replay/Russian/lenta.ru.replay [deleted file]
PerformanceTests/Replay/Russian/vkontakte.ru-help.replay [deleted file]
PerformanceTests/Replay/Russian/www.ixbt.com.replay [deleted file]
PerformanceTests/Replay/Russian/www.kp.ru.replay [deleted file]
PerformanceTests/Replay/Russian/www.liveinternet.ru.replay [deleted file]
PerformanceTests/Replay/Russian/www.pravda.ru.replay [deleted file]
PerformanceTests/Replay/Russian/www.rambler.ru.replay [deleted file]
PerformanceTests/Replay/Russian/www.ucoz.ru.replay [deleted file]
PerformanceTests/Replay/Russian/www.yandex.ru.replay [deleted file]
PerformanceTests/Replay/Spanish/www.taringa.net.replay [deleted file]
PerformanceTests/Replay/Swedish/www.flashback.se.replay [deleted file]
PerformanceTests/Replay/Swedish/www.tradera.com.replay [deleted file]
PerformanceTests/Replay/www.google.com.replay [deleted file]
PerformanceTests/Replay/www.techcrunch.com.replay [deleted file]
PerformanceTests/Replay/www.youtube.com.replay [deleted file]
Tools/ChangeLog
Tools/Scripts/webkitpy/performance_tests/perftest.py
Tools/Scripts/webkitpy/performance_tests/perftest_unittest.py
Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py
Tools/Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py
Tools/Scripts/webkitpy/thirdparty/__init__.py
Tools/Scripts/webkitpy/thirdparty/__init___unittest.py

index debe36f..a5cd206 100644 (file)
@@ -1,3 +1,78 @@
+2013-11-26  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Remove replay performance tests as it's not actively maintained
+        https://bugs.webkit.org/show_bug.cgi?id=124764
+
+        Reviewed by Andreas Kling.
+
+        Removed the replay performance tests. We can add them back when time comes.
+
+        * Replay/Chinese/chinaz.com.replay: Removed.
+        * Replay/Chinese/www.163.com.replay: Removed.
+        * Replay/Chinese/www.alipay.com.replay: Removed.
+        * Replay/Chinese/www.baidu.com.replay: Removed.
+        * Replay/Chinese/www.csdn.net.replay: Removed.
+        * Replay/Chinese/www.douban.com.replay: Removed.
+        * Replay/Chinese/www.hao123.com.replay: Removed.
+        * Replay/Chinese/www.xinhuanet.com.replay: Removed.
+        * Replay/Chinese/www.xunlei.com.replay: Removed.
+        * Replay/Chinese/www.youku.com.replay: Removed.
+        * Replay/English/beatonna.livejournal.com.replay: Removed.
+        * Replay/English/cakewrecks.blogspot.com.replay: Removed.
+        * Replay/English/chemistry.about.com.replay: Removed.
+        * Replay/English/digg.com.replay: Removed.
+        * Replay/English/en.wikipedia.org-rorschach_test.replay: Removed.
+        * Replay/English/icanhascheezburger.com.replay: Removed.
+        * Replay/English/imgur.com-gallery.replay: Removed.
+        * Replay/English/online.wsj.com.replay: Removed.
+        * Replay/English/stockoverflow.com-best-comment.replay: Removed.
+        * Replay/English/www.alibaba.com.replay: Removed.
+        * Replay/English/www.amazon.com-kindle.replay: Removed.
+        * Replay/English/www.apple.com.replay: Removed.
+        * Replay/English/www.cnet.com.replay: Removed.
+        * Replay/English/www.dailymotion.com.replay: Removed.
+        * Replay/English/www.ehow.com-prevent-fire.replay: Removed.
+        * Replay/English/www.filestube.com-amy-adams.replay: Removed.
+        * Replay/English/www.foxnews.replay: Removed.
+        * Replay/English/www.huffingtonpost.com.replay: Removed.
+        * Replay/English/www.imdb.com-twilight.replay: Removed.
+        * Replay/English/www.mozilla.com-all-order.replay: Removed.
+        * Replay/English/www.php.net.replay: Removed.
+        * Replay/English/www.reddit.com.replay: Removed.
+        * Replay/English/www.telegraph.co.uk.replay: Removed.
+        * Replay/English/www.w3.org-htmlcss.replay: Removed.
+        * Replay/English/www.w3schools.com-html.replay: Removed.
+        * Replay/English/www.youtube.com-music.replay: Removed.
+        * Replay/French/www.orange.fr.replay: Removed.
+        * Replay/Italian/www.repubblica.it.replay: Removed.
+        * Replay/Japanese/2ch.net-newsplus.replay: Removed.
+        * Replay/Japanese/entameblog.seesaa.net.replay: Removed.
+        * Replay/Japanese/ja.wikipedia.org.replay: Removed.
+        * Replay/Japanese/www.hatena.ne.jp.replay: Removed.
+        * Replay/Japanese/www.livedoor.com.replay: Removed.
+        * Replay/Japanese/www.nicovideo.jp.replay: Removed.
+        * Replay/Japanese/www.rakuten.co.jp.replay: Removed.
+        * Replay/Japanese/www.yahoo.co.jp.replay: Removed.
+        * Replay/Korean/www.naver.com.replay: Removed.
+        * Replay/Persian/blogfa.com.replay: Removed.
+        * Replay/Polish/www.wp.pl.replay: Removed.
+        * Replay/Portuguese/www.uol.com.br.replay: Removed.
+        * Replay/Russian/lenta.ru.replay: Removed.
+        * Replay/Russian/vkontakte.ru-help.replay: Removed.
+        * Replay/Russian/www.ixbt.com.replay: Removed.
+        * Replay/Russian/www.kp.ru.replay: Removed.
+        * Replay/Russian/www.liveinternet.ru.replay: Removed.
+        * Replay/Russian/www.pravda.ru.replay: Removed.
+        * Replay/Russian/www.rambler.ru.replay: Removed.
+        * Replay/Russian/www.ucoz.ru.replay: Removed.
+        * Replay/Russian/www.yandex.ru.replay: Removed.
+        * Replay/Spanish/www.taringa.net.replay: Removed.
+        * Replay/Swedish/www.flashback.se.replay: Removed.
+        * Replay/Swedish/www.tradera.com.replay: Removed.
+        * Replay/www.google.com.replay: Removed.
+        * Replay/www.techcrunch.com.replay: Removed.
+        * Replay/www.youtube.com.replay: Removed.
+
 2013-11-22  Ryosuke Niwa  <rniwa@webkit.org>
 
         Layout Test editing/deleting/password-delete-performance.html is failing
diff --git a/PerformanceTests/Replay/Chinese/chinaz.com.replay b/PerformanceTests/Replay/Chinese/chinaz.com.replay
deleted file mode 100644 (file)
index cc35b85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20100526005933/http://chinaz.com/
diff --git a/PerformanceTests/Replay/Chinese/www.163.com.replay b/PerformanceTests/Replay/Chinese/www.163.com.replay
deleted file mode 100644 (file)
index 50848ad..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110720113906/http://www.163.com/
diff --git a/PerformanceTests/Replay/Chinese/www.alipay.com.replay b/PerformanceTests/Replay/Chinese/www.alipay.com.replay
deleted file mode 100644 (file)
index 2976880..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110115113257/https://www.alipay.com/
diff --git a/PerformanceTests/Replay/Chinese/www.baidu.com.replay b/PerformanceTests/Replay/Chinese/www.baidu.com.replay
deleted file mode 100644 (file)
index 842b929..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110729055213/http://www.baidu.com/
diff --git a/PerformanceTests/Replay/Chinese/www.csdn.net.replay b/PerformanceTests/Replay/Chinese/www.csdn.net.replay
deleted file mode 100644 (file)
index 779b582..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110527061533/http://www.csdn.net/
diff --git a/PerformanceTests/Replay/Chinese/www.douban.com.replay b/PerformanceTests/Replay/Chinese/www.douban.com.replay
deleted file mode 100644 (file)
index 631c798..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110729052703/http://www.douban.com/
diff --git a/PerformanceTests/Replay/Chinese/www.hao123.com.replay b/PerformanceTests/Replay/Chinese/www.hao123.com.replay
deleted file mode 100644 (file)
index dd7fb0b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110716175917/http://www.hao123.com/
diff --git a/PerformanceTests/Replay/Chinese/www.xinhuanet.com.replay b/PerformanceTests/Replay/Chinese/www.xinhuanet.com.replay
deleted file mode 100644 (file)
index ea9e490..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20090629042141/http://www.xinhuanet.com/
diff --git a/PerformanceTests/Replay/Chinese/www.xunlei.com.replay b/PerformanceTests/Replay/Chinese/www.xunlei.com.replay
deleted file mode 100644 (file)
index 906c38c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110312182324/http://www.xunlei.com/
diff --git a/PerformanceTests/Replay/Chinese/www.youku.com.replay b/PerformanceTests/Replay/Chinese/www.youku.com.replay
deleted file mode 100644 (file)
index dd71ec9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110513180312/http://www.youku.com/
diff --git a/PerformanceTests/Replay/English/beatonna.livejournal.com.replay b/PerformanceTests/Replay/English/beatonna.livejournal.com.replay
deleted file mode 100644 (file)
index b0fe17b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110219025226/http://beatonna.livejournal.com/
diff --git a/PerformanceTests/Replay/English/cakewrecks.blogspot.com.replay b/PerformanceTests/Replay/English/cakewrecks.blogspot.com.replay
deleted file mode 100644 (file)
index e2e4a94..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110228204333/http://cakewrecks.blogspot.com/
diff --git a/PerformanceTests/Replay/English/chemistry.about.com.replay b/PerformanceTests/Replay/English/chemistry.about.com.replay
deleted file mode 100644 (file)
index 84f5d48..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110708231250/http://chemistry.about.com/
diff --git a/PerformanceTests/Replay/English/digg.com.replay b/PerformanceTests/Replay/English/digg.com.replay
deleted file mode 100644 (file)
index c9d4282..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20100730073647/http://digg.com/
diff --git a/PerformanceTests/Replay/English/en.wikipedia.org-rorschach_test.replay b/PerformanceTests/Replay/English/en.wikipedia.org-rorschach_test.replay
deleted file mode 100644 (file)
index 4a0d1a5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20090221044130/http://en.wikipedia.org/wiki/Rorschach_test
diff --git a/PerformanceTests/Replay/English/icanhascheezburger.com.replay b/PerformanceTests/Replay/English/icanhascheezburger.com.replay
deleted file mode 100644 (file)
index 582f3de..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20101130130151/http://icanhascheezburger.com/
diff --git a/PerformanceTests/Replay/English/imgur.com-gallery.replay b/PerformanceTests/Replay/English/imgur.com-gallery.replay
deleted file mode 100644 (file)
index de429ed..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110611094402/http://imgur.com/gallery/
diff --git a/PerformanceTests/Replay/English/online.wsj.com.replay b/PerformanceTests/Replay/English/online.wsj.com.replay
deleted file mode 100644 (file)
index 09c20f7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110729033948/http://online.wsj.com/homae-page
diff --git a/PerformanceTests/Replay/English/stockoverflow.com-best-comment.replay b/PerformanceTests/Replay/English/stockoverflow.com-best-comment.replay
deleted file mode 100644 (file)
index 9d3a488..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20101128235717/http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered
diff --git a/PerformanceTests/Replay/English/www.alibaba.com.replay b/PerformanceTests/Replay/English/www.alibaba.com.replay
deleted file mode 100644 (file)
index f4cee31..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110717164710/http://www.alibaba.com/
diff --git a/PerformanceTests/Replay/English/www.amazon.com-kindle.replay b/PerformanceTests/Replay/English/www.amazon.com-kindle.replay
deleted file mode 100644 (file)
index fc05342..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110506025727/http://www.amazon.com/Kindle-Special-Offers-Wireless-Reader/dp/B004HFS6Z0
diff --git a/PerformanceTests/Replay/English/www.apple.com.replay b/PerformanceTests/Replay/English/www.apple.com.replay
deleted file mode 100644 (file)
index da21d91..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110728085810/http://store.apple.com/us
diff --git a/PerformanceTests/Replay/English/www.cnet.com.replay b/PerformanceTests/Replay/English/www.cnet.com.replay
deleted file mode 100644 (file)
index b6f616d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20090516182244/http://www.cnet.com/
diff --git a/PerformanceTests/Replay/English/www.dailymotion.com.replay b/PerformanceTests/Replay/English/www.dailymotion.com.replay
deleted file mode 100644 (file)
index 19e3c81..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20100219134326/http://www.dailymotion.com/us
diff --git a/PerformanceTests/Replay/English/www.ehow.com-prevent-fire.replay b/PerformanceTests/Replay/English/www.ehow.com-prevent-fire.replay
deleted file mode 100644 (file)
index ac08a84..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20100119041159/http://www.ehow.com/how_4575878_prevent-fire-home.html
diff --git a/PerformanceTests/Replay/English/www.filestube.com-amy-adams.replay b/PerformanceTests/Replay/English/www.filestube.com-amy-adams.replay
deleted file mode 100644 (file)
index b83bc02..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20090604043615/http://www.filestube.com/a/amy+adams
diff --git a/PerformanceTests/Replay/English/www.foxnews.replay b/PerformanceTests/Replay/English/www.foxnews.replay
deleted file mode 100644 (file)
index 4f9e042..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110728222800/http://www.foxnews.com/
diff --git a/PerformanceTests/Replay/English/www.huffingtonpost.com.replay b/PerformanceTests/Replay/English/www.huffingtonpost.com.replay
deleted file mode 100644 (file)
index f377f65..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110729043303/http://www.huffingtonpost.com/
diff --git a/PerformanceTests/Replay/English/www.imdb.com-twilight.replay b/PerformanceTests/Replay/English/www.imdb.com-twilight.replay
deleted file mode 100644 (file)
index da14a2e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110430151645/http://www.imdb.com/title/tt1099212/
diff --git a/PerformanceTests/Replay/English/www.mozilla.com-all-order.replay b/PerformanceTests/Replay/English/www.mozilla.com-all-order.replay
deleted file mode 100644 (file)
index 8dd5db1..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110623032220/http://www.mozilla.com/en-US/firefox/all-older.html
diff --git a/PerformanceTests/Replay/English/www.php.net.replay b/PerformanceTests/Replay/English/www.php.net.replay
deleted file mode 100644 (file)
index 25d3848..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110724005457/http://www.php.net/
diff --git a/PerformanceTests/Replay/English/www.reddit.com.replay b/PerformanceTests/Replay/English/www.reddit.com.replay
deleted file mode 100644 (file)
index d7ca120..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20100328231532/http://www.reddit.com/
diff --git a/PerformanceTests/Replay/English/www.telegraph.co.uk.replay b/PerformanceTests/Replay/English/www.telegraph.co.uk.replay
deleted file mode 100644 (file)
index feb651d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110729055239/http://www.telegraph.co.uk/
diff --git a/PerformanceTests/Replay/English/www.w3.org-htmlcss.replay b/PerformanceTests/Replay/English/www.w3.org-htmlcss.replay
deleted file mode 100644 (file)
index a90c68d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110719011024/http://www.w3.org/standards/webdesign/htmlcss
diff --git a/PerformanceTests/Replay/English/www.w3schools.com-html.replay b/PerformanceTests/Replay/English/www.w3schools.com-html.replay
deleted file mode 100644 (file)
index 9f92885..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110717233535/http://www.w3schools.com/html/default.asp
diff --git a/PerformanceTests/Replay/English/www.youtube.com-music.replay b/PerformanceTests/Replay/English/www.youtube.com-music.replay
deleted file mode 100644 (file)
index 7cc8c97..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110726193155/http://www.youtube.com/music
diff --git a/PerformanceTests/Replay/French/www.orange.fr.replay b/PerformanceTests/Replay/French/www.orange.fr.replay
deleted file mode 100644 (file)
index 4aec5ad..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20100502002316/http://www.orange.fr/
diff --git a/PerformanceTests/Replay/Italian/www.repubblica.it.replay b/PerformanceTests/Replay/Italian/www.repubblica.it.replay
deleted file mode 100644 (file)
index 4dde5a0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110729033650/http://www.repubblica.it/
diff --git a/PerformanceTests/Replay/Japanese/2ch.net-newsplus.replay b/PerformanceTests/Replay/Japanese/2ch.net-newsplus.replay
deleted file mode 100644 (file)
index 1b5ad08..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20101113070140/http://kamome.2ch.net/newsplus/
diff --git a/PerformanceTests/Replay/Japanese/entameblog.seesaa.net.replay b/PerformanceTests/Replay/Japanese/entameblog.seesaa.net.replay
deleted file mode 100644 (file)
index c34f60e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20100427231535/http://entameblog.seesaa.net/
diff --git a/PerformanceTests/Replay/Japanese/ja.wikipedia.org.replay b/PerformanceTests/Replay/Japanese/ja.wikipedia.org.replay
deleted file mode 100644 (file)
index 720a3fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20090723063648/http://ja.wikipedia.org/wiki/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8
diff --git a/PerformanceTests/Replay/Japanese/www.hatena.ne.jp.replay b/PerformanceTests/Replay/Japanese/www.hatena.ne.jp.replay
deleted file mode 100644 (file)
index e9c2432..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110729010510/http://www.hatena.ne.jp/
diff --git a/PerformanceTests/Replay/Japanese/www.livedoor.com.replay b/PerformanceTests/Replay/Japanese/www.livedoor.com.replay
deleted file mode 100644 (file)
index 97df699..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110723020845/http://www.livedoor.com/
diff --git a/PerformanceTests/Replay/Japanese/www.nicovideo.jp.replay b/PerformanceTests/Replay/Japanese/www.nicovideo.jp.replay
deleted file mode 100644 (file)
index c411d4e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110723043453/http://www.nicovideo.jp/
diff --git a/PerformanceTests/Replay/Japanese/www.rakuten.co.jp.replay b/PerformanceTests/Replay/Japanese/www.rakuten.co.jp.replay
deleted file mode 100644 (file)
index a4f35a5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110723060303/http://www.rakuten.co.jp/
diff --git a/PerformanceTests/Replay/Japanese/www.yahoo.co.jp.replay b/PerformanceTests/Replay/Japanese/www.yahoo.co.jp.replay
deleted file mode 100644 (file)
index 01c5a11..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110728224518/http://www.yahoo.co.jp/
diff --git a/PerformanceTests/Replay/Korean/www.naver.com.replay b/PerformanceTests/Replay/Korean/www.naver.com.replay
deleted file mode 100644 (file)
index a29ce76..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110717151039/http://www.naver.com/
diff --git a/PerformanceTests/Replay/Persian/blogfa.com.replay b/PerformanceTests/Replay/Persian/blogfa.com.replay
deleted file mode 100644 (file)
index a63330b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110723062159/http://blogfa.com/
diff --git a/PerformanceTests/Replay/Polish/www.wp.pl.replay b/PerformanceTests/Replay/Polish/www.wp.pl.replay
deleted file mode 100644 (file)
index 29317a5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110718151009/http://www.wp.pl/
diff --git a/PerformanceTests/Replay/Portuguese/www.uol.com.br.replay b/PerformanceTests/Replay/Portuguese/www.uol.com.br.replay
deleted file mode 100644 (file)
index 041b69a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110722061518/http://www.uol.com.br/
diff --git a/PerformanceTests/Replay/Russian/lenta.ru.replay b/PerformanceTests/Replay/Russian/lenta.ru.replay
deleted file mode 100644 (file)
index 7419976..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110226174949/http://lenta.ru/
diff --git a/PerformanceTests/Replay/Russian/vkontakte.ru-help.replay b/PerformanceTests/Replay/Russian/vkontakte.ru-help.replay
deleted file mode 100644 (file)
index 1e62fa6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110716125834/http://vkontakte.ru/help.php?page=about
diff --git a/PerformanceTests/Replay/Russian/www.ixbt.com.replay b/PerformanceTests/Replay/Russian/www.ixbt.com.replay
deleted file mode 100644 (file)
index cea5921..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110202151706/http://www.ixbt.com/
diff --git a/PerformanceTests/Replay/Russian/www.kp.ru.replay b/PerformanceTests/Replay/Russian/www.kp.ru.replay
deleted file mode 100644 (file)
index 17ec33d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110318023959/http://kp.ru/
diff --git a/PerformanceTests/Replay/Russian/www.liveinternet.ru.replay b/PerformanceTests/Replay/Russian/www.liveinternet.ru.replay
deleted file mode 100644 (file)
index 2b41834..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110729042903/http://www.liveinternet.ru/
diff --git a/PerformanceTests/Replay/Russian/www.pravda.ru.replay b/PerformanceTests/Replay/Russian/www.pravda.ru.replay
deleted file mode 100644 (file)
index 3fdaf4a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110119021922/http://www.pravda.ru/
diff --git a/PerformanceTests/Replay/Russian/www.rambler.ru.replay b/PerformanceTests/Replay/Russian/www.rambler.ru.replay
deleted file mode 100644 (file)
index 388fcdd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110721133155/http://www.yandex.ru/
diff --git a/PerformanceTests/Replay/Russian/www.ucoz.ru.replay b/PerformanceTests/Replay/Russian/www.ucoz.ru.replay
deleted file mode 100644 (file)
index c41607b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20081215201710/http://www.ucoz.ru/
diff --git a/PerformanceTests/Replay/Russian/www.yandex.ru.replay b/PerformanceTests/Replay/Russian/www.yandex.ru.replay
deleted file mode 100644 (file)
index 388fcdd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110721133155/http://www.yandex.ru/
diff --git a/PerformanceTests/Replay/Spanish/www.taringa.net.replay b/PerformanceTests/Replay/Spanish/www.taringa.net.replay
deleted file mode 100644 (file)
index e01b2e3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110716051137/http://www.taringa.net/
diff --git a/PerformanceTests/Replay/Swedish/www.flashback.se.replay b/PerformanceTests/Replay/Swedish/www.flashback.se.replay
deleted file mode 100644 (file)
index b97c1f5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20091021002014/http://www.flashback.se/
diff --git a/PerformanceTests/Replay/Swedish/www.tradera.com.replay b/PerformanceTests/Replay/Swedish/www.tradera.com.replay
deleted file mode 100644 (file)
index 8c8fefe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110719020615/http://www.tradera.com/
diff --git a/PerformanceTests/Replay/www.google.com.replay b/PerformanceTests/Replay/www.google.com.replay
deleted file mode 100644 (file)
index a4f25b6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110729013436/http://www.google.com/
diff --git a/PerformanceTests/Replay/www.techcrunch.com.replay b/PerformanceTests/Replay/www.techcrunch.com.replay
deleted file mode 100644 (file)
index e202939..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110728133521/http://techcrunch.com/
diff --git a/PerformanceTests/Replay/www.youtube.com.replay b/PerformanceTests/Replay/www.youtube.com.replay
deleted file mode 100644 (file)
index 988ac98..0000000
+++ /dev/null
@@ -1 +0,0 @@
-http://web.archive.org/web/20110101045027/http://www.youtube.com/
index 1c887c4..fedfd05 100644 (file)
@@ -1,3 +1,28 @@
+2013-11-26  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Remove replay performance tests as it's not actively maintained
+        https://bugs.webkit.org/show_bug.cgi?id=124764
+
+        Reviewed by Andreas Kling.
+
+        Removed the feature.
+
+        * Scripts/webkitpy/performance_tests/perftest.py:
+        (SingleProcessPerfTest.__init__):
+        (PerfTestFactory):
+        * Scripts/webkitpy/performance_tests/perftest_unittest.py:
+        * Scripts/webkitpy/performance_tests/perftestsrunner.py:
+        (PerfTestsRunner._parse_args):
+        (PerfTestsRunner._collect_tests):
+        * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
+        (MainTest.test_collect_tests_with_ignored_skipped_list):
+        (MainTest.test_default_args):
+        * Scripts/webkitpy/thirdparty/__init__.py:
+        (AutoinstallImportHook.find_module):
+        (AutoinstallImportHook._install_unittest2):
+        * Scripts/webkitpy/thirdparty/__init___unittest.py:
+        (ThirdpartyTest.test_imports):
+
 2013-11-26  Filip Pizlo  <fpizlo@apple.com>
 
         Enable aggressive DFG validation in testing
index 66a0dbf..05537e0 100644 (file)
@@ -40,11 +40,6 @@ import subprocess
 import sys
 import time
 
-# Import for auto-install
-if sys.platform not in ('cygwin', 'win32'):
-    # FIXME: webpagereplay doesn't work on win32. See https://bugs.webkit.org/show_bug.cgi?id=88279.
-    import webkitpy.thirdparty.autoinstalled.webpagereplay.replay
-
 from webkitpy.layout_tests.controllers.test_result_writer import TestResultWriter
 from webkitpy.port.driver import DriverInput
 from webkitpy.port.driver import DriverOutput
@@ -256,161 +251,10 @@ class SingleProcessPerfTest(PerfTest):
         super(SingleProcessPerfTest, self).__init__(port, test_name, test_path, test_runner_count)
 
 
-class ReplayServer(object):
-    def __init__(self, archive, record):
-        self._process = None
-
-        # FIXME: Should error if local proxy isn't set to forward requests to localhost:8080 and localhost:8443
-
-        replay_path = webkitpy.thirdparty.autoinstalled.webpagereplay.replay.__file__
-        args = ['python', replay_path, '--no-dns_forwarding', '--port', '8080', '--ssl_port', '8443', '--use_closest_match', '--log_level', 'warning']
-        if record:
-            args.append('--record')
-        args.append(archive)
-
-        self._process = subprocess.Popen(args)
-
-    def wait_until_ready(self):
-        for i in range(0, 3):
-            try:
-                connection = socket.create_connection(('localhost', '8080'), timeout=1)
-                connection.close()
-                return True
-            except socket.error:
-                time.sleep(1)
-                continue
-        return False
-
-    def stop(self):
-        if self._process:
-            self._process.send_signal(signal.SIGINT)
-            self._process.wait()
-        self._process = None
-
-    def __del__(self):
-        self.stop()
-
-
-class ReplayPerfTest(PerfTest):
-    _FORCE_GC_FILE = 'resources/force-gc.html'
-
-    def __init__(self, port, test_name, test_path, test_runner_count=DEFAULT_TEST_RUNNER_COUNT):
-        super(ReplayPerfTest, self).__init__(port, test_name, test_path, test_runner_count)
-        self.force_gc_test = self._port.host.filesystem.join(self._port.perf_tests_dir(), self._FORCE_GC_FILE)
-
-    def _start_replay_server(self, archive, record):
-        try:
-            return ReplayServer(archive, record)
-        except OSError as error:
-            if error.errno == errno.ENOENT:
-                _log.error("Replay tests require web-page-replay.")
-            else:
-                raise error
-
-    def prepare(self, time_out_ms):
-        filesystem = self._port.host.filesystem
-        path_without_ext = filesystem.splitext(self.test_path())[0]
-
-        self._archive_path = filesystem.join(path_without_ext + '.wpr')
-        self._expected_image_path = filesystem.join(path_without_ext + '-expected.png')
-        self._url = filesystem.read_text_file(self.test_path()).split('\n')[0]
-
-        if filesystem.isfile(self._archive_path) and filesystem.isfile(self._expected_image_path):
-            _log.info("Replay ready for %s" % self._archive_path)
-            return True
-
-        _log.info("Preparing replay for %s" % self.test_name())
-
-        driver = self._port.create_driver(worker_number=0, no_timeout=True)
-        try:
-            output = self.run_single(driver, self._archive_path, time_out_ms, record=True)
-        finally:
-            driver.stop()
-
-        if not output or not filesystem.isfile(self._archive_path):
-            _log.error("Failed to prepare a replay for %s" % self.test_name())
-            return False
-
-        _log.info("Prepared replay for %s" % self.test_name())
-
-        return True
-
-    def _run_with_driver(self, driver, time_out_ms):
-        times = []
-        malloc = []
-        js_heap = []
-
-        for i in range(0, 6):
-            output = self.run_single(driver, self.test_path(), time_out_ms)
-            if not output or self.run_failed(output):
-                return False
-            if i == 0:
-                continue
-
-            times.append(output.test_time * 1000)
-
-            if not output.measurements:
-                continue
-
-            for metric, result in output.measurements.items():
-                assert metric == 'Malloc' or metric == 'JSHeap'
-                if metric == 'Malloc':
-                    malloc.append(result)
-                else:
-                    js_heap.append(result)
-
-        if times:
-            self._ensure_metrics('Time').append_group(times)
-        if malloc:
-            self._ensure_metrics('Malloc').append_group(malloc)
-        if js_heap:
-            self._ensure_metrics('JSHeap').append_group(js_heap)
-
-        return True
-
-    def run_single(self, driver, url, time_out_ms, record=False):
-        server = self._start_replay_server(self._archive_path, record)
-        if not server:
-            _log.error("Web page replay didn't start.")
-            return None
-
-        try:
-            _log.debug("Waiting for Web page replay to start.")
-            if not server.wait_until_ready():
-                _log.error("Web page replay didn't start.")
-                return None
-
-            _log.debug("Web page replay started. Loading the page.")
-            # Force GC to prevent pageload noise. See https://bugs.webkit.org/show_bug.cgi?id=98203
-            super(ReplayPerfTest, self).run_single(driver, self.force_gc_test, time_out_ms, False)
-            output = super(ReplayPerfTest, self).run_single(driver, self._url, time_out_ms, should_run_pixel_test=True)
-            if self.run_failed(output):
-                return None
-
-            if not output.image:
-                _log.error("Loading the page did not generate image results")
-                _log.error(output.text)
-                return None
-
-            filesystem = self._port.host.filesystem
-            dirname = filesystem.dirname(self._archive_path)
-            filename = filesystem.split(self._archive_path)[1]
-            writer = TestResultWriter(filesystem, self._port, dirname, filename)
-            if record:
-                writer.write_image_files(actual_image=None, expected_image=output.image)
-            else:
-                writer.write_image_files(actual_image=output.image, expected_image=None)
-
-            return output
-        finally:
-            server.stop()
-
-
 class PerfTestFactory(object):
 
     _pattern_map = [
         (re.compile(r'^Dromaeo/'), SingleProcessPerfTest),
-        (re.compile(r'(.+)\.replay$'), ReplayPerfTest),
     ]
 
     @classmethod
index 6e5a40d..e7d94f8 100644 (file)
@@ -39,7 +39,6 @@ from webkitpy.port.test import TestPort
 from webkitpy.performance_tests.perftest import PerfTest
 from webkitpy.performance_tests.perftest import PerfTestMetric
 from webkitpy.performance_tests.perftest import PerfTestFactory
-from webkitpy.performance_tests.perftest import ReplayPerfTest
 from webkitpy.performance_tests.perftest import SingleProcessPerfTest
 
 
@@ -197,241 +196,6 @@ Description: this is a test description.
         self.assertEqual(called[0], 1)
 
 
-class TestReplayPerfTest(unittest.TestCase):
-    class ReplayTestPort(MockPort):
-        def __init__(self, custom_run_test=None):
-
-            class ReplayTestDriver(TestDriver):
-                def run_test(self, text_input, stop_when_done):
-                    return custom_run_test(text_input, stop_when_done) if custom_run_test else None
-
-            self._custom_driver_class = ReplayTestDriver
-            super(self.__class__, self).__init__()
-
-        def _driver_class(self):
-            return self._custom_driver_class
-
-    class MockReplayServer(object):
-        def __init__(self, wait_until_ready=True):
-            self.wait_until_ready = lambda: wait_until_ready
-
-        def stop(self):
-            pass
-
-    def _add_file(self, port, dirname, filename, content=True):
-        port.host.filesystem.maybe_make_directory(dirname)
-        port.host.filesystem.write_binary_file(port.host.filesystem.join(dirname, filename), content)
-
-    def _setup_test(self, run_test=None):
-        test_port = self.ReplayTestPort(run_test)
-        self._add_file(test_port, '/path/some-dir', 'some-test.replay', 'http://some-test/')
-        test = ReplayPerfTest(test_port, 'some-test.replay', '/path/some-dir/some-test.replay')
-        test._start_replay_server = lambda archive, record: self.__class__.MockReplayServer()
-        return test, test_port
-
-    def test_run_single(self):
-        output_capture = OutputCapture()
-        output_capture.capture_output()
-
-        loaded_pages = []
-
-        def run_test(test_input, stop_when_done):
-            if test_input.test_name == test.force_gc_test:
-                loaded_pages.append(test_input)
-                return
-            if test_input.test_name != "about:blank":
-                self.assertEqual(test_input.test_name, 'http://some-test/')
-            loaded_pages.append(test_input)
-            self._add_file(port, '/path/some-dir', 'some-test.wpr', 'wpr content')
-            return DriverOutput('actual text', 'actual image', 'actual checksum',
-                audio=None, crash=False, timeout=False, error=False, test_time=12345)
-
-        test, port = self._setup_test(run_test)
-        test._archive_path = '/path/some-dir/some-test.wpr'
-        test._url = 'http://some-test/'
-
-        try:
-            driver = port.create_driver(worker_number=1, no_timeout=True)
-            output = test.run_single(driver, '/path/some-dir/some-test.replay', time_out_ms=100)
-            self.assertTrue(output)
-        finally:
-            actual_stdout, actual_stderr, actual_logs = output_capture.restore_output()
-
-        self.assertEqual(len(loaded_pages), 2)
-        self.assertEqual(loaded_pages[0].test_name, test.force_gc_test)
-        self.assertEqual(loaded_pages[1].test_name, 'http://some-test/')
-        self.assertEqual(actual_stdout, '')
-        self.assertEqual(actual_stderr, '')
-        self.assertEqual(actual_logs, '')
-        self.assertEqual(port.host.filesystem.read_binary_file('/path/some-dir/some-test-actual.png'), 'actual image')
-        self.assertEqual(output.test_time, 12345)
-
-    def test_run_single_fails_without_webpagereplay(self):
-        output_capture = OutputCapture()
-        output_capture.capture_output()
-
-        test, port = self._setup_test()
-        test._start_replay_server = lambda archive, record: None
-        test._archive_path = '/path/some-dir.wpr'
-        test._url = 'http://some-test/'
-
-        try:
-            driver = port.create_driver(worker_number=1, no_timeout=True)
-            self.assertEqual(test.run_single(driver, '/path/some-dir/some-test.replay', time_out_ms=100), None)
-        finally:
-            actual_stdout, actual_stderr, actual_logs = output_capture.restore_output()
-        self.assertEqual(actual_stdout, '')
-        self.assertEqual(actual_stderr, '')
-        self.assertEqual(actual_logs, "Web page replay didn't start.\n")
-
-    def test_run_with_driver_accumulates_results(self):
-        port = MockPort()
-        test, port = self._setup_test()
-        counter = [0]
-
-        def mock_run_signle(drive, path, timeout):
-            counter[0] += 1
-            return DriverOutput('some output', image=None, image_hash=None, audio=None, test_time=counter[0], measurements={})
-
-        test.run_single = mock_run_signle
-        output_capture = OutputCapture()
-        output_capture.capture_output()
-        try:
-            driver = port.create_driver(worker_number=1, no_timeout=True)
-            self.assertTrue(test._run_with_driver(driver, None))
-        finally:
-            actual_stdout, actual_stderr, actual_logs = output_capture.restore_output()
-
-        self.assertEqual(actual_stdout, '')
-        self.assertEqual(actual_stderr, '')
-        self.assertEqual(actual_logs, '')
-
-        self.assertEqual(test._metrics.keys(), ['Time'])
-        self.assertEqual(test._metrics['Time'].flattened_iteration_values(), [float(i * 1000) for i in range(2, 7)])
-
-    def test_run_with_driver_accumulates_memory_results(self):
-        port = MockPort()
-        test, port = self._setup_test()
-        counter = [0]
-
-        def mock_run_signle(drive, path, timeout):
-            counter[0] += 1
-            return DriverOutput('some output', image=None, image_hash=None, audio=None, test_time=counter[0], measurements={'Malloc': 10, 'JSHeap': 5})
-
-        test.run_single = mock_run_signle
-        output_capture = OutputCapture()
-        output_capture.capture_output()
-        try:
-            driver = port.create_driver(worker_number=1, no_timeout=True)
-            self.assertTrue(test._run_with_driver(driver, None))
-        finally:
-            actual_stdout, actual_stderr, actual_logs = output_capture.restore_output()
-
-        self.assertEqual(actual_stdout, '')
-        self.assertEqual(actual_stderr, '')
-        self.assertEqual(actual_logs, '')
-
-        metrics = test._metrics
-        self.assertEqual(sorted(metrics.keys()), ['JSHeap', 'Malloc', 'Time'])
-        self.assertEqual(metrics['Time'].flattened_iteration_values(), [float(i * 1000) for i in range(2, 7)])
-        self.assertEqual(metrics['Malloc'].flattened_iteration_values(), [float(10)] * 5)
-        self.assertEqual(metrics['JSHeap'].flattened_iteration_values(), [float(5)] * 5)
-
-    def test_prepare_fails_when_wait_until_ready_fails(self):
-        output_capture = OutputCapture()
-        output_capture.capture_output()
-
-        test, port = self._setup_test()
-        test._start_replay_server = lambda archive, record: self.__class__.MockReplayServer(wait_until_ready=False)
-        test._archive_path = '/path/some-dir.wpr'
-        test._url = 'http://some-test/'
-
-        try:
-            driver = port.create_driver(worker_number=1, no_timeout=True)
-            self.assertEqual(test.run_single(driver, '/path/some-dir/some-test.replay', time_out_ms=100), None)
-        finally:
-            actual_stdout, actual_stderr, actual_logs = output_capture.restore_output()
-
-        self.assertEqual(actual_stdout, '')
-        self.assertEqual(actual_stderr, '')
-        self.assertEqual(actual_logs, "Web page replay didn't start.\n")
-
-    def test_run_single_fails_when_output_has_error(self):
-        output_capture = OutputCapture()
-        output_capture.capture_output()
-
-        loaded_pages = []
-
-        def run_test(test_input, stop_when_done):
-            loaded_pages.append(test_input)
-            self._add_file(port, '/path/some-dir', 'some-test.wpr', 'wpr content')
-            return DriverOutput('actual text', 'actual image', 'actual checksum',
-                audio=None, crash=False, timeout=False, error='some error')
-
-        test, port = self._setup_test(run_test)
-        test._archive_path = '/path/some-dir.wpr'
-        test._url = 'http://some-test/'
-
-        try:
-            driver = port.create_driver(worker_number=1, no_timeout=True)
-            self.assertEqual(test.run_single(driver, '/path/some-dir/some-test.replay', time_out_ms=100), None)
-        finally:
-            actual_stdout, actual_stderr, actual_logs = output_capture.restore_output()
-
-        self.assertEqual(len(loaded_pages), 2)
-        self.assertEqual(loaded_pages[0].test_name, test.force_gc_test)
-        self.assertEqual(loaded_pages[1].test_name, 'http://some-test/')
-        self.assertEqual(actual_stdout, '')
-        self.assertEqual(actual_stderr, '')
-        self.assertEqual(actual_logs, 'error: some-test.replay\nsome error\n')
-
-    def test_prepare(self):
-        output_capture = OutputCapture()
-        output_capture.capture_output()
-
-        def run_test(test_input, stop_when_done):
-            self._add_file(port, '/path/some-dir', 'some-test.wpr', 'wpr content')
-            return DriverOutput('actual text', 'actual image', 'actual checksum',
-                audio=None, crash=False, timeout=False, error=False)
-
-        test, port = self._setup_test(run_test)
-
-        try:
-            self.assertTrue(test.prepare(time_out_ms=100))
-        finally:
-            actual_stdout, actual_stderr, actual_logs = output_capture.restore_output()
-
-        self.assertEqual(actual_stdout, '')
-        self.assertEqual(actual_stderr, '')
-        self.assertEqual(actual_logs, 'Preparing replay for some-test.replay\nPrepared replay for some-test.replay\n')
-        self.assertEqual(port.host.filesystem.read_binary_file('/path/some-dir/some-test-expected.png'), 'actual image')
-
-    def test_prepare_calls_run_single(self):
-        output_capture = OutputCapture()
-        output_capture.capture_output()
-        called = [False]
-
-        def run_single(driver, url, time_out_ms, record):
-            self.assertTrue(record)
-            self.assertEqual(url, '/path/some-dir/some-test.wpr')
-            called[0] = True
-            return False
-
-        test, port = self._setup_test()
-        test.run_single = run_single
-
-        try:
-            self.assertFalse(test.prepare(time_out_ms=100))
-        finally:
-            actual_stdout, actual_stderr, actual_logs = output_capture.restore_output()
-        self.assertTrue(called[0])
-        self.assertEqual(test._archive_path, '/path/some-dir/some-test.wpr')
-        self.assertEqual(test._url, 'http://some-test/')
-        self.assertEqual(actual_stdout, '')
-        self.assertEqual(actual_stderr, '')
-        self.assertEqual(actual_logs, "Preparing replay for some-test.replay\nFailed to prepare a replay for some-test.replay\n")
-
-
 class TestPerfTestFactory(unittest.TestCase):
     def test_regular_test(self):
         test = PerfTestFactory.create_perf_test(MockPort(), 'some-dir/some-test', '/path/some-dir/some-test')
index bf39bc2..0fe27d4 100644 (file)
@@ -112,8 +112,6 @@ class PerfTestsRunner(object):
                 help="Upload the generated JSON file to the specified server when --output-json-path is present."),
             optparse.make_option("--webkit-test-runner", "-2", action="store_true",
                 help="Use WebKitTestRunner rather than DumpRenderTree."),
-            optparse.make_option("--replay", dest="replay", action="store_true", default=False,
-                help="Run replay tests."),
             optparse.make_option("--force", dest="use_skipped_list", action="store_false", default=True,
                 help="Run all tests, including the ones in the Skipped list."),
             optparse.make_option("--profile", action="store_true",
@@ -134,8 +132,6 @@ class PerfTestsRunner(object):
 
     def _collect_tests(self):
         test_extensions = ['.html', '.svg']
-        if self._options.replay:
-            test_extensions.append('.replay')
 
         def _is_test_file(filesystem, dirname, filename):
             return filesystem.splitext(filename)[1] in test_extensions
index 29bd7a8..04042a4 100644 (file)
@@ -111,18 +111,6 @@ class MainTest(unittest.TestCase):
         port.skipped_perf_tests = lambda: ['inspector/unsupported_test1.html', 'unsupported']
         self.assertItemsEqual(self._collect_tests_and_sort_test_name(runner), ['inspector/test1.html', 'inspector/test2.html', 'inspector/unsupported_test1.html', 'unsupported/unsupported_test2.html'])
 
-    def test_collect_tests_should_ignore_replay_tests_by_default(self):
-        runner, port = self.create_runner()
-        self._add_file(runner, 'Replay', 'www.webkit.org.replay')
-        self.assertItemsEqual(runner._collect_tests(), [])
-
-    def test_collect_tests_with_replay_tests(self):
-        runner, port = self.create_runner(args=['--replay'])
-        self._add_file(runner, 'Replay', 'www.webkit.org.replay')
-        tests = runner._collect_tests()
-        self.assertEqual(len(tests), 1)
-        self.assertEqual(tests[0].__class__.__name__, 'ReplayPerfTest')
-
     def test_default_args(self):
         runner, port = self.create_runner()
         options, args = PerfTestsRunner._parse_args([])
@@ -130,7 +118,6 @@ class MainTest(unittest.TestCase):
         self.assertEqual(options.time_out_ms, 600 * 1000)
         self.assertTrue(options.generate_results)
         self.assertTrue(options.show_results)
-        self.assertFalse(options.replay)
         self.assertTrue(options.use_skipped_list)
         self.assertEqual(options.repeat, 1)
         self.assertEqual(options.test_runner_count, DEFAULT_TEST_RUNNER_COUNT)
index 601e2fb..c693743 100644 (file)
@@ -91,8 +91,6 @@ class AutoinstallImportHook(object):
             self._install_irc()
         elif '.buildbot' in fullname:
             self._install_buildbot()
-        elif '.webpagereplay' in fullname:
-            self._install_webpagereplay()
 
     def _install_mechanize(self):
         return self._install("http://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.5.tar.gz",
@@ -161,17 +159,6 @@ class AutoinstallImportHook(object):
         self._ensure_autoinstalled_dir_is_in_sys_path()
         return self._install(url="http://pypi.python.org/packages/source/u/unittest2/unittest2-0.5.1.tar.gz#md5=a0af5cac92bbbfa0c3b0e99571390e0f", url_subpath="unittest2-0.5.1/unittest2")
 
-    def _install_webpagereplay(self):
-        did_install_something = False
-        if not self._fs.exists(self._fs.join(_AUTOINSTALLED_DIR, "webpagereplay")):
-            did_install_something = self._install("http://web-page-replay.googlecode.com/files/webpagereplay-1.1.2.tar.gz", "webpagereplay-1.1.2")
-            self._fs.move(self._fs.join(_AUTOINSTALLED_DIR, "webpagereplay-1.1.2"), self._fs.join(_AUTOINSTALLED_DIR, "webpagereplay"))
-
-        module_init_path = self._fs.join(_AUTOINSTALLED_DIR, "webpagereplay", "__init__.py")
-        if not self._fs.exists(module_init_path):
-            self._fs.write_text_file(module_init_path, "")
-        return did_install_something
-
     def _install(self, url, url_subpath=None, target_name=None):
         installer = AutoInstaller(target_dir=_AUTOINSTALLED_DIR)
         return installer.install(url=url, url_subpath=url_subpath, target_name=target_name)
index f687ae0..6c51518 100644 (file)
@@ -65,5 +65,4 @@ class ThirdpartyTest(unittest.TestCase):
         import webkitpy.thirdparty.autoinstalled.irc.irclib
         import webkitpy.thirdparty.autoinstalled.mechanize
         import webkitpy.thirdparty.autoinstalled.pylint
-        import webkitpy.thirdparty.autoinstalled.webpagereplay
         import webkitpy.thirdparty.autoinstalled.pep8