| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 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 Facebook's JSGameBench benchmark. | 5 """Runs Facebook's JSGameBench benchmark. |
| 6 | 6 |
| 7 As of May 14, 2014, JSGameBench is no longer maintained. See README.md: | 7 As of May 14, 2014, JSGameBench is no longer maintained. See README.md: |
| 8 https://github.com/facebookarchive/jsgamebench | 8 https://github.com/facebookarchive/jsgamebench |
| 9 | 9 |
| 10 The benchmark is kept here for historical purposes but is disabled on the bots. | 10 The benchmark is kept here for historical purposes but is disabled on the bots. |
| 11 """ | 11 """ |
| (...skipping 23 matching lines...) Expand all Loading... |
| 35 class Jsgamebench(test.Test): | 35 class Jsgamebench(test.Test): |
| 36 """Counts how many animating sprites can move around on the screen at once.""" | 36 """Counts how many animating sprites can move around on the screen at once.""" |
| 37 test = _JsgamebenchMeasurement | 37 test = _JsgamebenchMeasurement |
| 38 | 38 |
| 39 def CreatePageSet(self, options): | 39 def CreatePageSet(self, options): |
| 40 ps = page_set.PageSet( | 40 ps = page_set.PageSet( |
| 41 archive_data_file='../page_sets/data/jsgamebench.json', | 41 archive_data_file='../page_sets/data/jsgamebench.json', |
| 42 file_path=os.path.dirname(__file__)) | 42 file_path=os.path.dirname(__file__)) |
| 43 ps.AddPageWithDefaultRunNavigate('http://localhost/') | 43 ps.AddPageWithDefaultRunNavigate('http://localhost/') |
| 44 return ps | 44 return ps |
| OLD | NEW |