2019-05-07 12:10:29 +00:00
|
|
|
// Copyright 2019 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.
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
load('../base.js');
|
2019-06-28 14:03:11 +00:00
|
|
|
load('test-config.js');
|
2019-05-07 12:10:29 +00:00
|
|
|
load('to-boolean.js');
|
2019-06-05 09:39:03 +00:00
|
|
|
load('add.js');
|
2019-06-28 14:03:11 +00:00
|
|
|
load('as-uint-n.js');
|
2019-05-07 12:10:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
var success = true;
|
|
|
|
|
|
|
|
function PrintResult(name, result) {
|
|
|
|
print(name + '-BigInt(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 });
|