log memory usage after each mangling step

https://github.com/microsoft/vscode/issues/202720#issuecomment-1912208685
pull/203536/head
Johannes 2024-01-26 16:09:47 +01:00
parent 6eb3213066
commit 5abe782c37
No known key found for this signature in database
GPG Key ID: 6DEF802A22264FCA
1 changed files with 1 additions and 1 deletions

View File

@ -721,7 +721,7 @@ export class Mangler {
result.set(item.fileName, { out: newFullText, sourceMap: generator?.toString() });
}
this.log(`Done: ${savedBytes / 1000}kb saved`);
this.log(`Done: ${savedBytes / 1000}kb saved, memory-usage: ${JSON.stringify(process.memoryUsage())}`);
return result;
}
}