fix(coding-agent): print benchmark timings after TUI stop (#6030)
closes #6029
This commit is contained in:
@@ -810,9 +810,9 @@ export async function main(args: string[], options?: MainOptions) {
|
||||
if (startupBenchmark) {
|
||||
await interactiveMode.init();
|
||||
time("interactiveMode.init");
|
||||
printTimings();
|
||||
interactiveMode.stop();
|
||||
stopThemeWatcher();
|
||||
printTimings();
|
||||
if (process.stdout.writableLength > 0) {
|
||||
await new Promise<void>((resolve) => process.stdout.once("drain", resolve));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user