callstats_groups.py 1.1 KB

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