| # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "Chrome OS Team" |
| NAME = "desktopui_V8Bench" |
| PURPOSE = "Benchmark javascript operations of a web browser." |
| CRITERIA = """ |
| The test will fail if it does not complete the benchmark. Additional contraints |
| are needed if a minimum score is required. |
| """ |
| TIME = "SHORT" |
| TEST_CATEGORY = "Benchmark" |
| TEST_CLASS = "desktopui" |
| TEST_TYPE = "client" |
| |
| DOC = """ |
| The V8 Benchmark is comprised of the following tests: |
| |
| - Richards |
| - OS kernel simulation benchmark, originally written in BCPL by Martin |
| Richards (539 lines). |
| - DeltaBlue |
| - One-way constraint solver, originally written in Smalltalk by |
| John Maloney and Mario Wolczko (880 lines). |
| - Crypto |
| - Encryption and decryption benchmark based on code by Tom Wu |
| (1698 lines). |
| - RayTrace |
| - Ray tracer benchmark based on code by Adam Burmister (935 lines). |
| - EarleyBoyer |
| - Classic Scheme benchmarks, translated to JavaScript by |
| Florian Loitsch's Scheme2Js compiler (4685 lines). |
| - RegExp |
| - Regular expression benchmark generated by extracting regular expression |
| operations from 50 of the most popular web pages (1614 lines). |
| - Splay |
| - Data manipulation benchmark that deals with splay trees and exercises |
| the automatic memory management subsystem (378 lines) |
| """ |
| |
| job.run_test('desktopui_V8Bench') |