Skip to content

Commit 7466aa5

Browse files
authored
Fix a typo in ${NEW} variable in Post-processing tools for diagnostics section
While reading up I realized there is a typo in: `how to use utils/process-stats-dir.py`. The example asks to use OLD and NEW compiler but the documentation uses only ${OLD} compiler in example
1 parent 448a14e commit 7466aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/CompilerPerformance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ performance between two compilers, say `${OLD}/swiftc` and `${NEW}/swiftc`:
793793
```
794794
$ mkdir stats-old stats-new
795795
$ ${OLD}/swiftc -stats-output-dir stats-old test.swift
796-
$ ${OLD}/swiftc -stats-output-dir stats-new test.swift
796+
$ ${NEW}/swiftc -stats-output-dir stats-new test.swift
797797
$ utils/process-stats-dir.py --compare-stats-dirs stats-old stats-new
798798
old new delta_pct name
799799
1402939 1430732 1.98 AST.NumASTBytesAllocated

0 commit comments

Comments
 (0)