refactor: shared utils for benchmark scripts

This commit is contained in:
Johann Schopplich
2025-10-27 17:37:27 +01:00
parent 7b76acde31
commit 4ec7e84f5f
9 changed files with 269 additions and 124 deletions

View File

@@ -9,6 +9,16 @@ export const BENCHMARKS_DIR: string = url.fileURLToPath(new URL('../', import.me
*/
export const DEFAULT_CONCURRENCY = 20
/**
* Progress bar configuration
*/
export const PROGRESS_BAR = {
/** Default width for progress bars */
defaultWidth: 25,
/** Compact width for inline displays */
compactWidth: 20,
} as const
/**
* Enable dry run mode for quick testing with limited AI requests
*