2015-05-06 16:17:40 +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.
|
|
|
|
|
|
|
|
|
2021-06-01 12:46:36 +00:00
|
|
|
d8.file.execute('../base.js');
|
2016-03-07 18:45:23 +00:00
|
|
|
|
2021-06-01 12:46:36 +00:00
|
|
|
d8.file.execute('assign.js');
|
|
|
|
d8.file.execute('create.js');
|
|
|
|
d8.file.execute('entries.js');
|
|
|
|
d8.file.execute('values.js');
|
2015-05-06 16:17:40 +00:00
|
|
|
|
|
|
|
var success = true;
|
|
|
|
|
|
|
|
function PrintResult(name, result) {
|
|
|
|
print(name + '-Object(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 });
|