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
Debug.WriteLine($@" Failed to Quit with {Application.QuitKey} after {ABORT_TIMEOUT_MS}ms and {BenchmarkResults.IterationCount} iterations. Force quit.");
275
+
Debug.WriteLine($@" Failed to Quit with {Application.QuitKey} after {BenchmarkTimeout}ms and {BenchmarkResults.IterationCount} iterations. Force quit.");
Copy file name to clipboardexpand all lines: UICatalog/UICatalog.cs
+13-3
Original file line number
Diff line number
Diff line change
@@ -148,6 +148,10 @@ private static int Main (string [] args)
148
148
benchmarkFlag.AddAlias("-b");
149
149
benchmarkFlag.AddAlias("--b");
150
150
151
+
Option<uint>benchmarkTimeout=newOption<uint>("--timeout",getDefaultValue:()=>Scenario.BenchmarkTimeout,$"The maximum time in milliseconds to run a benchmark for. Default is {Scenario.BenchmarkTimeout}ms.");
152
+
benchmarkTimeout.AddAlias("-t");
153
+
benchmarkTimeout.AddAlias("--t");
154
+
151
155
Option<string>resultsFile=newOption<string>("--file","The file to save benchmark results to. If not specified, the results will be displayed in a TableView.");
152
156
resultsFile.AddAlias("-f");
153
157
resultsFile.AddAlias("--f");
@@ -165,7 +169,7 @@ private static int Main (string [] args)
165
169
166
170
varrootCommand=newRootCommand("A comprehensive sample library for Terminal.Gui")
0 commit comments