https://llvm.org/docs/TestSuiteGuide.html describes how to run compare.py in llvm-test-suite:
# Make sure pandas is installed. Prepend `sudo` if necessary. % pip install pandas # Show a single result file: % test-suite/utils/compare.py results.json # Compare two result files: % test-suite/utils/compare.py results_a.json results_b.json
Since https://reviews.llvm.org/D57828 this also requires scipy so added this to the documentation.