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

Side by Side Diff: chrome/test/perf/v8_benchmark_uitest.js

Issue 11649054: Remove obsolete v8_benchmark. It was replaced with Octane on the perf bots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/perf/v8_benchmark_uitest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
5 */
6
7 // Automation utilities for running the V8 Benchmark as a UI test.
8
9 function Automation() {
10 this.score = '';
11 this.results = {};
12 }
13
14 Automation.prototype.SetDone = function() {
15 console.log("score: " + this.GetScore());
16 for (var result in this.results) {
17 if (this.results.hasOwnProperty(result))
18 console.log(result + ": " + this.results[result]);
19 }
20 document.cookie = '__done=1; path=/';
21 };
22
23 Automation.prototype.SetScore = function (score) {
24 this.score = score;
25 };
26
27 Automation.prototype.GetScore = function() {
28 return this.score;
29 };
30
31 Automation.prototype.AddResult = function(name, result) {
32 this.results[name] = result;
33 };
34
35 Automation.prototype.GetResults = function() {
36 return this.results;
37 };
38
39 automation = new Automation();
OLDNEW
« no previous file with comments | « chrome/test/perf/v8_benchmark_uitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698