[all-commits] [llvm/llvm-project] aec12c: [analyzer][tests] Add a notion of project sizes

Valeriy Savchenko via All-commits all-commits at lists.llvm.org
Mon Aug 24 06:13:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aec12c1264ac17877d5cb19750eaa322fe57342d
      https://github.com/llvm/llvm-project/commit/aec12c1264ac17877d5cb19750eaa322fe57342d
  Author: Valeriy Savchenko <vsavchenko at apple.com>
  Date:   2020-08-24 (Mon, 24 Aug 2020)

  Changed paths:
    M clang/utils/analyzer/ProjectMap.py
    M clang/utils/analyzer/SATest.py
    M clang/utils/analyzer/projects/projects.json

  Log Message:
  -----------
  [analyzer][tests] Add a notion of project sizes

Summary:
Whith the number of projects growing, it is important to be able to
filter them in a more convenient way than by names.  It is especially
important for benchmarks, when it is not viable to analyze big
projects 20 or 50 times in a row.

Because of this reason, this commit adds a notion of sizes and a
filtering interface that puts a limit on a maximum size of the project
to analyze or benchmark.

Sizes assigned to the projects in this commit, do not directly
correspond to the number of lines or files in the project.  The key
factor that is important for the developers of the analyzer is the
time it takes to analyze the project.  And for this very reason,
"size" basically helps to cluster projects based on their analysis
time.

Differential Revision: https://reviews.llvm.org/D83942




More information about the All-commits mailing list