Skip to content

Commit 7f71a3c

Browse files
committed
Document that llvm-lit needs to be run to collect static metrics
1 parent c0a1214 commit 7f71a3c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

llvm/docs/TestSuiteGuide.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ MicroBenchmarks/XRay microbenchmarks, you need to add `compiler-rt` to your
7171
PASS: test-suite :: MultiSource/Applications/ALAC/encode/alacconvert-encode.test (2 of 474)
7272
...
7373
```
74+
**NOTE!** even in the case you only want to get the compile-time results(code size, llvm stats etc),
75+
you need to run the test with the above `llvm-lit` command. In that case, the *results.json* file will
76+
contain compile-time metrics.
7477

7578
6. Show and compare result files (optional):
7679

@@ -266,7 +269,7 @@ Example usage:
266269

267270
```bash
268271
% test-suite/utils/compare.py -m compile_time baseline.json
269-
% test-suite/utils/compare.py -m size.__text baseline.json
272+
% test-suite/utils/compare.py -m size..text baseline.json
270273
```
271274

272275
- Compare two result files and filter short running tests:

0 commit comments

Comments
 (0)