We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cde3b9 commit bb1da9cCopy full SHA for bb1da9c
extensions/ql-vscode/src/common/jsonl-reader.ts
@@ -15,6 +15,8 @@ export async function readJsonlFile<T>(
15
handler: (value: T) => Promise<void>,
16
logger?: { log: (message: string) => void },
17
): Promise<void> {
18
+ // Stream the data as large evaluator logs won't fit in memory.
19
+ // Also avoid using 'readline' as it is slower than our manual line splitting.
20
void logger?.log(
21
`Parsing ${path} (${(await stat(path)).size / 1024 / 1024} MB)...`,
22
);
0 commit comments