summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-profdata/llvm-profdata.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-11-14 16:40:30 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-11-14 16:40:30 +0000
commit6dc954a0d95f6af6e406b5f525feddfaf4e7c4ab (patch)
tree111259a9a7208621a707b3c2beb5eb1a6171588a /llvm/tools/llvm-profdata/llvm-profdata.cpp
parenta2b715f8836ff56e9ce185b72f62f79a9f050310 (diff)
downloadbcm5719-llvm-6dc954a0d95f6af6e406b5f525feddfaf4e7c4ab.tar.gz
bcm5719-llvm-6dc954a0d95f6af6e406b5f525feddfaf4e7c4ab.zip
Add a script to run various benchmarks and send the result to lnt.
Lnt is both a server and a set of script for benchmarking llvm. I don't think it makes sense to use the scripts for lld since our benchmarks are quite different. The server on the other hand is very general and seems to work well for tracking any quantities. This patch adds a script to lld that can be used to run various benchmarks and send the result to lnt. The benchmarks are assumed to each be a response file in a subdirectory. Each subdirectory can contain multiple response files. That can be used to have a plain response.txt and a response-icf.txt for example. The name of each benchmark is the combination of the directory name and the "flavor": firefox-gc, chromium-icf, etc. For the first version the script uses perf and collects all the metrics that a plain "perf stat" prints. This script can then be used by a developer to test a patch or by a bot to keep track of lld's performance. llvm-svn: 318158
Diffstat (limited to 'llvm/tools/llvm-profdata/llvm-profdata.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud