2014-10-17 09:26:55 +00:00
|
|
|
// Copyright 2014 the V8 project authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
|
|
|
|
load('../base.js');
|
|
|
|
load('super.js');
|
2014-12-04 20:12:03 +00:00
|
|
|
load('default-constructor.js');
|
2017-08-08 04:11:55 +00:00
|
|
|
load('leaf-constructors.js');
|
2014-10-17 09:26:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
var success = true;
|
|
|
|
|
|
|
|
function PrintResult(name, result) {
|
|
|
|
print(name + '-Classes(Score): ' + result);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function PrintError(name, error) {
|
|
|
|
PrintResult(name, error);
|
|
|
|
success = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
BenchmarkSuite.config.doWarmup = undefined;
|
|
|
|
BenchmarkSuite.config.doDeterministic = undefined;
|
|
|
|
|
|
|
|
BenchmarkSuite.RunSuites({ NotifyResult: PrintResult,
|
|
|
|
NotifyError: PrintError });
|