Index: tools/perf/benchmarks/benchmark_smoke_unittest.py |
diff --git a/tools/perf/benchmarks/benchmark_smoke_unittest.py b/tools/perf/benchmarks/benchmark_smoke_unittest.py |
index e0a5767827603392be32545c62a54b0417a4442c..f236444027d3a423a421ba5b126df77a3bbb9107 100644 |
--- a/tools/perf/benchmarks/benchmark_smoke_unittest.py |
+++ b/tools/perf/benchmarks/benchmark_smoke_unittest.py |
@@ -53,9 +53,10 @@ def SmokeTestGenerator(benchmark): |
def CreateStorySet(self, options): |
# pylint: disable=super-on-old-class |
story_set = super(SinglePageBenchmark, self).CreateStorySet(options) |
- for story in story_set.stories: |
- story_set.stories = [story] |
- break |
+ # Only smoke test the first story since smoke testing everything takes |
+ # too long. |
+ for s in story_set.stories[1:]: |
+ story_set.RemoveStory(s) |
return story_set |
# Set the benchmark's default arguments. |