• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2019 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
5import re
6
7RUNTIME_CALL_STATS_GROUPS = [
8    ('Group-IC', re.compile(".*IC_.*")),
9    ('Group-OptimizeBackground', re.compile(".*OptimizeBackground.*")),
10    ('Group-Optimize',
11     re.compile("StackGuard|.*Optimize.*|.*Deoptimize.*|Recompile.*")),
12    ('Group-CompileBackground', re.compile("(.*CompileBackground.*)")),
13    ('Group-Compile', re.compile("(^Compile.*)|(.*_Compile.*)")),
14    ('Group-ParseBackground', re.compile(".*ParseBackground.*")),
15    ('Group-Parse', re.compile(".*Parse.*")),
16    ('Group-Callback', re.compile(".*Callback.*")),
17    ('Group-API', re.compile(".*API.*")),
18    ('Group-GC-Custom', re.compile("GC_Custom_.*")),
19    ('Group-GC-Background', re.compile(".*GC.*BACKGROUND.*")),
20    ('Group-GC', re.compile("GC_.*|AllocateInTargetSpace")),
21    ('Group-JavaScript', re.compile("JS_Execution")),
22    ('Group-WebSnapshot', re.compile("WebSnapshot.*")),
23    ('Group-Runtime', re.compile(".*"))]
24