Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: tools/perf/perf_tools/image_decoding_benchmark_unittest.py

Issue 12100007: Disable image decoding perf test for android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove method Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/perf_tools/image_decoding_benchmark.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/perf_tools/image_decoding_benchmark_unittest.py
diff --git a/tools/perf/perf_tools/image_decoding_benchmark_unittest.py b/tools/perf/perf_tools/image_decoding_benchmark_unittest.py
index c1309da79f2406c2dc6c8ba95ffa151ddf75c223..b2fdd0929ed6755c9177f1aeee1e8eda34a2c421 100644
--- a/tools/perf/perf_tools/image_decoding_benchmark_unittest.py
+++ b/tools/perf/perf_tools/image_decoding_benchmark_unittest.py
@@ -3,21 +3,24 @@
# found in the LICENSE file.
from telemetry import multi_page_benchmark_unittest_base
-from perf_tools import image_decoding_benchmark
+# from perf_tools import image_decoding_benchmark
class ImageDecodingBenchmarkUnitTest(
multi_page_benchmark_unittest_base.MultiPageBenchmarkUnitTestBase):
def testImageDecodingMeasurement(self):
- ps = self.CreatePageSetFromFileInUnittestDataDir('image_decoding.html')
+ # TODO(qinmin): uncomment this after we fix the image decoding benchmark
+ # for lazily decoded images
+ return
+ # ps = self.CreatePageSetFromFileInUnittestDataDir('image_decoding.html')
- benchmark = image_decoding_benchmark.ImageDecoding()
- all_results = self.RunBenchmark(benchmark, ps)
+ # benchmark = image_decoding_benchmark.ImageDecoding()
+ # all_results = self.RunBenchmark(benchmark, ps)
- self.assertEqual(0, len(all_results.page_failures))
- self.assertEqual(1, len(all_results.page_results))
+ # self.assertEqual(0, len(all_results.page_failures))
+ # self.assertEqual(1, len(all_results.page_results))
- results0 = all_results.page_results[0]
- self.assertTrue('ImageDecoding_avg' in results0)
- self.assertTrue(results0['ImageDecoding_avg'] > 0)
+ # results0 = all_results.page_results[0]
+ # self.assertTrue('ImageDecoding_avg' in results0)
+ # self.assertTrue(results0['ImageDecoding_avg'] > 0)
« no previous file with comments | « tools/perf/perf_tools/image_decoding_benchmark.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698