You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UnityPerformanceBenchmarkReporter/OptionsParser.cs
+18-4Lines changed: 18 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,15 @@ public class OptionsParser
13
13
privatereadonlystringlearnMore=
14
14
"To learn more about the Unity Performance Benchmark Reporter visit the Unity Performance Benchmark Reporter GitHub wiki at https://github.com/Unity-Technologies/PerformanceBenchmarkReporter/wiki.";
15
15
16
+
privatereadonlystringcommandLineOptionFormat=
17
+
"// Command line option format\r\n--results=<Path to a test result XML filename OR directory>... [--baseline=\"Path to a baseline XML filename\"] [--reportdirpath=\"Path to where the report will be written\"]";
18
+
19
+
privatereadonlystringexample1="// Run reporter with one performance test result .xml file\r\n--results=\"G:\\My Drive\\XRPerfRuns\\results\\results.xml\"";
20
+
21
+
privatereadonlystringexample2="// Run reporter against a directory containing one or more performance test result .xml files\r\n--results=\"G:\\My Drive\\XRPerfRuns\\results\" ";
22
+
23
+
privatereadonlystringexample3="// Run reporter against a directory containing one or more performance test result .xml files, and a baseline .xml result file\r\n--results=\"G:\\My Drive\\XRPerfRuns\\results\" --baseline=\"G:\\My Drive\\XRPerfRuns\\baselines\\baseline.xml\" ";
.Add("?|help|h","Prints out the options.", option =>help=option!=null)
56
-
.Add("testresultsxmlsource=","REQUIRED - Path to a test result XML filename or directory. Directories are searched resursively. You can repeat this option with multiple result file or directory paths.",
65
+
.Add("results|testresultsxmlsource=","REQUIRED - Path to a test result XML filename OR directory. Directories are searched resursively. You can repeat this option with multiple result file or directory paths.",
.Add("baselinexmlsource:","OPTIONAL - Path to a baseline XML filename or directory. Directories are searched resursively. You can repeat this option with multiple baseline file or directory paths.",
70
+
.Add("baseline|baselinexmlsource:","OPTIONAL - Path to a baseline XML filename.",
.Add("reportdirpath:","OPTIONAL - Path to directory where the UnityPerformanceBenchmark report will be written. Default is current working directory.",
75
+
.Add("report|reportdirpath:","OPTIONAL - Path to where the report will be written. Default is current working directory.",
0 commit comments