blob: 79ca26e68a8f7ece132c5ecd858adea6f4508885 [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('harmony-string.js');
Ben Murdochb8a8cc12014-11-26 15:28:44 +00008
9
10var success = true;
11
12function PrintResult(name, result) {
Emily Bernier958fae72015-03-24 16:35:39 -040013 print(name + '-Strings(Score): ' + result);
Ben Murdochb8a8cc12014-11-26 15:28:44 +000014}
15
16
17function PrintError(name, error) {
18 PrintResult(name, error);
19 success = false;
20}
21
22
23BenchmarkSuite.config.doWarmup = undefined;
24BenchmarkSuite.config.doDeterministic = undefined;
25
26BenchmarkSuite.RunSuites({ NotifyResult: PrintResult,
27 NotifyError: PrintError });