blob: 5d48b320a77cf24f240511798dd923fe9a57ac84 [file] [log] [blame]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001// Copyright 2014 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5
Emily Bernier958fae72015-03-24 16:35:39 -04006load('../base.js');
7load('super.js');
8load('default-constructor.js');
Ben Murdochb8a8cc12014-11-26 15:28:44 +00009
10
11var success = true;
12
13function PrintResult(name, result) {
Emily Bernier958fae72015-03-24 16:35:39 -040014 print(name + '-Classes(Score): ' + result);
Ben Murdochb8a8cc12014-11-26 15:28:44 +000015}
16
17
18function PrintError(name, error) {
19 PrintResult(name, error);
20 success = false;
21}
22
23
24BenchmarkSuite.config.doWarmup = undefined;
25BenchmarkSuite.config.doDeterministic = undefined;
26
27BenchmarkSuite.RunSuites({ NotifyResult: PrintResult,
28 NotifyError: PrintError });