Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: test/js-perf-test/RegExp/run.js

Issue 2521263003: [js-perf-test] Add RegExp microbenchmarks (Closed)
Patch Set: Move to own test suite Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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
6 load('../base.js');
7
8 load('ctor.js');
9 load('exec.js');
10 load('flags.js');
11 load('match.js');
12 load('replace.js');
13 load('search.js');
14 load('split.js');
15 load('test.js');
16 load('slow_exec.js');
17 load('slow_flags.js');
18 load('slow_match.js');
19 load('slow_replace.js');
20 load('slow_search.js');
21 load('slow_split.js');
22 load('slow_test.js');
23
24 var success = true;
25
26 function PrintResult(name, result) {
27 print(name + '-RegExp(Score): ' + result);
28 }
29
30
31 function PrintError(name, error) {
32 PrintResult(name, error);
33 success = false;
34 }
35
36
37 BenchmarkSuite.config.doWarmup = undefined;
38 BenchmarkSuite.config.doDeterministic = undefined;
39
40 BenchmarkSuite.RunSuites({ NotifyResult: PrintResult,
41 NotifyError: PrintError });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698