f728d6984d
Change-Id: I7bf0144bacd0572a42b98d0a0f19df3daf63128b Bug: chromium:840785 Reviewed-on: https://chromium-review.googlesource.com/1051240 Commit-Queue: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Peter Marshall <petermarshall@chromium.org> Cr-Commit-Position: refs/heads/master@{#53418}
24 lines
654 B
JavaScript
24 lines
654 B
JavaScript
// Copyright 2018 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(arguments[0] + '.js')
|
|
|
|
function PrintResult(name, result) {
|
|
print(name + '-ArraySort(Score): ' + result);
|
|
}
|
|
|
|
function PrintStep(name) {}
|
|
|
|
function PrintError(name, error) {
|
|
PrintResult(name, error);
|
|
}
|
|
|
|
BenchmarkSuite.config.doWarmup = undefined;
|
|
BenchmarkSuite.config.doDeterministic = undefined;
|
|
|
|
BenchmarkSuite.RunSuites({ NotifyResult: PrintResult,
|
|
NotifyError: PrintError,
|
|
NotifyStep: PrintStep });
|