| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Runs Apple's JetStream benchmark. | 5 """Runs Apple's JetStream benchmark. |
| 6 | 6 |
| 7 JetStream combines a variety of JavaScript benchmarks, covering a variety of | 7 JetStream combines a variety of JavaScript benchmarks, covering a variety of |
| 8 advanced workloads and programming techniques, and reports a single score that | 8 advanced workloads and programming techniques, and reports a single score that |
| 9 balances them using geometric mean. | 9 balances them using geometric mean. |
| 10 | 10 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 test = _JetstreamMeasurement | 80 test = _JetstreamMeasurement |
| 81 | 81 |
| 82 @classmethod | 82 @classmethod |
| 83 def Name(cls): | 83 def Name(cls): |
| 84 return 'jetstream' | 84 return 'jetstream' |
| 85 | 85 |
| 86 def CreateStorySet(self, options): | 86 def CreateStorySet(self, options): |
| 87 ps = story.StorySet( | 87 ps = story.StorySet( |
| 88 archive_data_file='../page_sets/data/jetstream.json', | 88 archive_data_file='../page_sets/data/jetstream.json', |
| 89 base_dir=os.path.dirname(os.path.abspath(__file__)), | 89 base_dir=os.path.dirname(os.path.abspath(__file__)), |
| 90 cloud_storage_bucket=story.INTERNAL_BUCKET, | 90 cloud_storage_bucket=story.INTERNAL_BUCKET) |
| 91 verify_names=True) | |
| 92 ps.AddStory(page_module.Page( | 91 ps.AddStory(page_module.Page( |
| 93 'http://browserbench.org/JetStream/', ps, ps.base_dir, | 92 'http://browserbench.org/JetStream/', ps, ps.base_dir, |
| 94 make_javascript_deterministic=False, | 93 make_javascript_deterministic=False, |
| 95 name='http://browserbench.org/JetStream/')) | 94 name='http://browserbench.org/JetStream/')) |
| 96 return ps | 95 return ps |
| OLD | NEW |