mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-28 08:02:08 +00:00
6dc954a0d9
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 |
||
---|---|---|
.. | ||
benchmark.py | ||
link.yaml |